gh_asset_pre_cache 0.0.1 gh_asset_pre_cache: ^0.0.1 copied to clipboard
A plug-in that improves the usability and performance of the app by pre-caching assets used in the application.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gh_asset_pre_cache
With Flutter:
$ flutter pub add gh_asset_pre_cache
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gh_asset_pre_cache: ^0.0.1
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:gh_asset_pre_cache/gh_asset_pre_cache.dart';