app_state_checker 1.0.2+1 copy "app_state_checker: ^1.0.2+1" to clipboard
app_state_checker: ^1.0.2+1 copied to clipboard

A new Flutter plugin to check whether app is in background, foreground and kill state

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add app_state_checker

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

dependencies:
  app_state_checker: ^1.0.2+1

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:app_state_checker/app_state_checker.dart';
4
likes
160
points
14
downloads

Publisher

verified publishertechind.co

Weekly Downloads

A new Flutter plugin to check whether app is in background, foreground and kill state

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on app_state_checker