app_usage_tracker 0.0.1 app_usage_tracker: ^0.0.1 copied to clipboard
The App Usage Tracker is a simple way to track how many days an app has been used and how many times it has been opened.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_usage_tracker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
app_usage_tracker: ^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:app_usage_tracker/app_usage_tracker.dart';