jd_loading 0.1.0 jd_loading: ^0.1.0 copied to clipboard
For The Jingdong APP, Flutter version unified loading package, can be directly introduced into the project to use, or can be imported by custom Widget,just use it now.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add jd_loading
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
jd_loading: ^0.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:jd_loading/jd_loading.dart';