asset_delivery 1.1.0
asset_delivery: ^1.1.0 copied to clipboard
A Flutter plugin for managing on-demand asset delivery with Play Asset Delivery, supporting asset pack setup, progress tracking, and persistent storage.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate asset_delivery
Use it
The package has the following executables:
$ setup_asset_pack
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add asset_delivery
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
asset_delivery: ^1.1.0
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:asset_delivery/asset_delivery.dart';