flutterupushplugin 0.0.4 flutterupushplugin: ^0.0.4 copied to clipboard
一个使用u meng push(友盟推送flutter版)的flutter插件。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutterupushplugin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutterupushplugin: ^0.0.4
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:flutterupushplugin/register_info.dart';
import 'package:flutterupushplugin/u_push_options.dart';
import 'package:flutterupushplugin/u_push_plugin.dart';