active_package 0.0.1 copy "active_package: ^0.0.1" to clipboard
active_package: ^0.0.1 copied to clipboard

PlatformAndroid

A Flutter plugin that helps you know the package name of any application running in foreground (Android only).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add active_package

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

dependencies:
  active_package: ^0.0.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:active_package/active_package.dart';
1
likes
120
pub points
14%
popularity

Publisher

unverified uploader

A Flutter plugin that helps you know the package name of any application running in foreground (Android only).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on active_package