jd_loading 0.0.2 copy "jd_loading: ^0.0.2" to clipboard
jd_loading: ^0.0.2 copied to clipboard

outdated

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.

jd_loading #

京东系APP统一Loading

示例预览 #

如何使用? #

依赖library:

dependencies:
 jd_loading: ^0.0.1
 

在入口页面初始化:

class MyApp extends StatelessWidget {
 double percentage = 0.0;

 @override
 Widget build(BuildContext context) {
   Application.appContext = context;
   //初始化
   JDLoading.init(context);
   return Scaffold(
   );
 }
}

在任意页面调用,展示loading:

JDLoading.show();
 

更多使用,参见example.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

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.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on jd_loading