nit_riverpod_notifications 0.0.2
nit_riverpod_notifications: ^0.0.2 copied to clipboard
Riverpod-based tool to show UI messages from anywhere with just one line of code - ref.notifyUser(...)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nit_riverpod_notifications
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
nit_riverpod_notifications: ^0.0.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:nit_riverpod_notifications/nit_riverpod_notifications.dart';