mi_push 0.0.1
mi_push: ^0.0.1 copied to clipboard
Lightweight Flutter plugin for xiaomi push integration. Simplifies push notifications on xiaomi devices, supporting token registration, message receiving, and callback handling.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mi_pushWith Flutter:
$ flutter pub add mi_pushThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mi_push: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mi_push/mi_push.dart';