metooltip 0.0.7 metooltip: ^0.0.7 copied to clipboard
Reference flutter native Tooltip to implement a configurable Tooltip, as a project to learn flutter by myself. I will complete some business logic step by step, Ensure the stability of api.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add metooltip
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
metooltip: ^0.0.7
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:metooltip/metooltip.dart';