material_dev_tools 0.0.4
material_dev_tools: ^0.0.4 copied to clipboard
Enhances the development workflow by offering real-time previews of Material components
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add material_dev_tools
With Flutter:
$ flutter pub add material_dev_tools
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
material_dev_tools: ^0.0.4
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:material_dev_tools/demos/color_scheme_demo.dart';
import 'package:material_dev_tools/main.dart';
import 'package:material_dev_tools/main.directories.g.dart';
import 'package:material_dev_tools/services/service_manager_service.dart';
import 'package:material_dev_tools/services/theme_service.dart';
import 'package:material_dev_tools/services/vm_service.dart';
import 'package:material_dev_tools/utils/extensions.dart';
import 'package:material_dev_tools/utils/theme_stateful_widget.dart';