betrayal 1.2.2
betrayal: ^1.2.2 copied to clipboard
Integrate your app into the system tray and add custom icons and react to user input. Use widget wrappers to treat the notification area as part of your UI.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add betrayal
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
betrayal: ^1.2.2
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:betrayal/betrayal.dart';