devtools_app_shared 0.2.3 copy "devtools_app_shared: ^0.2.3" to clipboard
devtools_app_shared: ^0.2.3 copied to clipboard

Platformweb

Package of Dart & Flutter structures shared between devtools_app and devtools extensions.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add devtools_app_shared

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

dependencies:
  devtools_app_shared: ^0.2.3

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:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/service_extensions.dart';
import 'package:devtools_app_shared/shared.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:devtools_app_shared/web_utils.dart';