flutter_observer 1.0.2 copy "flutter_observer: ^1.0.2" to clipboard
flutter_observer: ^1.0.2 copied to clipboard

outdated

类似android BroadcastReceiver 和 ios NSNotification,用于通知页面刷新。这是一个纯dart语言开发的package

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_observer

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_observer: ^1.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:flutter_observer/Observable.dart';
import 'package:flutter_observer/Observer.dart';
8
likes
0
points
919
downloads

Publisher

unverified uploader

Weekly Downloads

类似android BroadcastReceiver 和 ios NSNotification,用于通知页面刷新。这是一个纯dart语言开发的package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_observer