material_dev_tools 0.0.6
material_dev_tools: ^0.0.6 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 Flutter:
$ flutter pub add material_dev_tools
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
material_dev_tools: ^0.0.6
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: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_cache.dart';
import 'package:material_dev_tools/utils/theme_controller.dart';
import 'package:material_dev_tools/utils/theme_stateful_widget.dart';
import 'package:material_dev_tools/utils/themer_addon.dart';