android_activity_lifecycle 1.0.0 copy "android_activity_lifecycle: ^1.0.0" to clipboard
android_activity_lifecycle: ^1.0.0 copied to clipboard

PlatformAndroid

This flutter plugin for listen to FlutterActivity lifecycle state change on flutter Android app

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add android_activity_lifecycle

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

dependencies:
  android_activity_lifecycle: ^1.0.0

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:android_activity_lifecycle/android_activity_lifecycle.dart';
2
likes
130
points
56
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This flutter plugin for listen to FlutterActivity lifecycle state change on flutter Android app

Homepage
Repository (GitHub)
View/report issues

Topics

#platform-channels #plugin-development

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_plugin_android_lifecycle, plugin_platform_interface

More

Packages that depend on android_activity_lifecycle

Packages that implement android_activity_lifecycle