display_metrics_android 1.0.1 display_metrics_android: ^1.0.1 copied to clipboard
Android platform implementation of display_metrics plugin. This package will be automatically included in your app when you use display_metrics in Android project
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add display_metrics_android
With Flutter:
$ flutter pub add display_metrics_android
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
display_metrics_android: ^1.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:display_metrics_android/display_metrics_android.dart';