flutter_manager 1.0.5 flutter_manager: ^1.0.5 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
With Flutter:
$ flutter 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.5
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:flutter_manager/config.dart';
import 'package:flutter_manager/constant/console_color_constant.dart';
import 'package:flutter_manager/constant/constant_export.dart';
import 'package:flutter_manager/extension/extension_export.dart';
import 'package:flutter_manager/extension/string_extension.dart';
import 'package:flutter_manager/util/print.dart';