official_push_pulgin 0.0.10
official_push_pulgin: ^0.0.10 copied to clipboard
This is a Plug-ins pushed by the manufacturer
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add official_push_pulginThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
official_push_pulgin: ^0.0.10Alternatively, 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:official_push_pulgin/config/config.dart';
import 'package:official_push_pulgin/models/push_model.dart';
import 'package:official_push_pulgin/push_listener.dart';
import 'package:official_push_pulgin/push_manager.dart';
import 'package:official_push_pulgin/push_plugin.dart';
import 'package:official_push_pulgin/xiaomi/xiaomi_push_plugin.dart';