asset_manager_tool 1.0.9 asset_manager_tool: ^1.0.9 copied to clipboard
这个包的目的是帮助我们管理资产文件,并给出提示资产文件是否在项目中使用到。
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add asset_manager_tool
With Flutter:
$ flutter pub add asset_manager_tool
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
asset_manager_tool: ^1.0.9
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:asset_manager_tool/asset/asset_item.dart';
import 'package:asset_manager_tool/asset/asset_list.dart';
import 'package:asset_manager_tool/asset/image_asset_item.dart';
import 'package:asset_manager_tool/command.dart';
import 'package:asset_manager_tool/config.dart';
import 'package:asset_manager_tool/context.dart';
import 'package:asset_manager_tool/lib.dart';
import 'package:asset_manager_tool/logger.dart';
import 'package:asset_manager_tool/options.dart';
import 'package:asset_manager_tool/queue.dart';