live_updates 0.1.1
live_updates: ^0.1.1 copied to clipboard
iOS Live Activities and Android Live Update notifications with one Dart API. Built on FFIgen and JNIgen, no platform channels.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate live_updatesUse it
The package has the following executables:
$ create_widget
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add live_updatesThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
live_updates: ^0.1.1Alternatively, 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:live_updates/live_updates.dart';