flutter_manager 1.0.1 flutter_manager: ^1.0.1 copied to clipboard
A useful command line tool for Flutter, which support flutter component management, built-in commands and custom command etc.(一个实用的Flutter命令行工具,支持 flutter 组件管理、内置命令和自定义命令等)
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_manager
Use it
The package has the following executables:
$ manager
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flutter_manager: ^1.0.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_manager/config.dart';
import 'package:flutter_manager/util/print.dart';