flutter_easyhub 0.0.3 copy "flutter_easyhub: ^0.0.3" to clipboard
flutter_easyhub: ^0.0.3 copied to clipboard

outdated

easy for hub.

fluttereasyhub #

一个展示toast和加载动画的 packages

easy use #

初始化

EasyHub.getInstance
..setBackgroundColor(Colors.black38)
..setCircleBackgroundColor(Colors.lightGreen)
..setValueColor(new AlwaysStoppedAnimation(Colors.black38));

OR


EasyHub hub = EasyHub(
   circlebackgroundColor: Colors.black38,
   circleValueColor: new AlwaysStoppedAnimation(Colors.teal),
   background: Colors.black38);
   // OR
 hub
   ..setParameter(
       background: Colors.black38,
       circleValueColor: new AlwaysStoppedAnimation(Colors.black38),
       circlebackgroundColor: Colors.lightGreen);
hub.show_hub(
   context: context, type: EasyHubType.EasyHub_msg, msg: 'loading');

// 隐藏
hub.dismiss_hub();
// OR
 EasyHub.dismiddAll();

想要隐藏所有

EasyHub.dismiddAll();

展示文本


EasyHub.show(context, 'loading');

展示HUB

EasyHub.showHub(context);

展示文本 + hub

EasyHub.showMsg(context, '加载文字展示');
6
likes
0
pub points
14%
popularity

Publisher

unverified uploader

easy for hub.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_easyhub