profiler 2.0.0-beta.2 copy "profiler: ^2.0.0-beta.2" to clipboard
profiler: ^2.0.0-beta.2 copied to clipboard

minor updates

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add profiler

With Flutter:

 $ flutter pub add profiler

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

dependencies:
  profiler: ^2.0.0-beta.2

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:profiler/global/global.dart';
import 'package:profiler/interfaces/contextual_credential.dart';
import 'package:profiler/interfaces/language.dart';
import 'package:profiler/interfaces/usage_setting.dart';
import 'package:profiler/plugin/contextual_profiler.dart';
import 'package:profiler/plugin/contextual_profiler_method_channel.dart';
import 'package:profiler/plugin/contextual_profiler_platform_interface.dart';
import 'package:profiler/ui/profiler_usage_dialog/profiler_usage_dialog.dart';