fast_dev 0.0.1-beta.1
fast_dev: ^0.0.1-beta.1 copied to clipboard
写在 dev_dependencies 的 Flutter 开发期工具:根据 flutter.assets 生成类型安全路径。CLI 和 build_runner 同一套结果。
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate fast_devUse it
The package has the following executables:
$ fast_dev
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fast_devWith Flutter:
$ flutter pub add fast_devThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fast_dev: ^0.0.1-beta.1Alternatively, 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:fast_dev/fast_dev.dart';