Build & Run example/lib/main.dart
on iOS/Android device for more demostrations
DialogShower
Simple to use
DialogShower.init(context); # init with a root context in your app
DialogShower shower = DialogShower()
..build()
..barrierDismissible = true
..containerShadowColor = Colors.grey
..containerShadowBlurRadius = 50.0
..containerBorderRadius = 5.0
..show(__your_widget_here__);
OverlayShower usage is the same as DialogShower
Demonstrations
1. Loading & Alerts & Actions

2. Various show & dismiss animation

3. Toast & Menu & Banner

4. Keyboard Interactive

5. Nested Navigator

6. Various Pickers and Tooltips

Brother
1. Update view by key
BtKey updateWidgetsKey = BtKey(); # more decoupling :P
String text = 'You are some handsome';
@override
Widget build(BuildContext context) {
return Btw(builder: (context){
updateWidgetsKey.eye; // Put an eye here. Dota/LOL online game 插个眼.
return InkWell(
child: Text(text),
onTap: () {
List<String> v = ['❗️', '🔴', '👠', '⌘', '🏁', '咳', 'か', 'нг', 'зз'];
text = (v..shuffle()).first;
updateWidgetsKey.update(); // when text changed, call eye update :)
},
);
});
}
2. Update view by value
Btv<String> text = 'You are so awesome'.btv;
@override
Widget build(BuildContext context) {
return Btw(builder: (context) {
return InkWell(
child: Text(text.value),
onTap: () {
List<String> v = ['Niu', 'Ok', 'Six', 'Wa', 'Ha', 'WooLa'];
text.value = (v..shuffle()).first;
},
);
});
}
Contact & Discussion
Group ID:
Libraries
- anything_fielder_view
- anything_header_view
- anything_levels_picker
- anything_picker_view
- anything_selector_view
- boxes
- broker
- brother
- cc_action_widgets
- cc_animate_widgets
- cc_bubble_widgets
- cc_keyboard_widgets
- dialog_shower
- dialog_widgets
- dialog_wrapper
- elements_util
- event_truck
- flutter_dialog_shower
- keyboard_event_listener
- offsets_util
- overlay_shower
- overlay_widgets
- overlay_wrapper
- sizes_util