hints: ^0.0.2 copied to clipboard
A simple flutter widget for showing dismissible help texts to the user.
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.
Import the package #
To use this package, add hints as a dependency in your pubspec.yaml
Use the package #
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.