Skip to content

A simple flutter widget for showing dismissible help texts to the user.

License

Notifications You must be signed in to change notification settings

UglyBob79/hints

Repository files navigation

hints

A simple widget for showing dismissible help texts to the user. If the widget is dismissed, it will remember by saving the state in persistent storage and will never be shown again.

Usage

Import the package

To use this package, add hints as a dependency in your pubspec.yaml

Use the package

import 'package:hints/hints.dart';

The main widget to use is HintCard.

The widget need a unique Key to keep track of if the widget is hidden or not.

It also needs a hint text and can be provided an icon.

Note: The widget will assert if no key is provided. Don't provide a generated key as it will not match next run.

Getting started

Please look at the example code for getting started.

Screenshot

About

A simple flutter widget for showing dismissible help texts to the user.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages