gh_asset_pre_cache 0.0.2 gh_asset_pre_cache: ^0.0.2 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 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 flutter pub get
):
dependencies:
gh_asset_pre_cache: ^0.0.2
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:gh_asset_pre_cache/gh_asset_pre_cache.dart';