flutter-custom-dialog
flutter-custom-dialog copied to clipboard
🚀🚀🚀 Semantic dialog
I am passing this value(false) to the barrierDismissible but its functionality is not working properly.We want to prevent/stop the dismissable of dialog from external hardware back button. YYDialog YYNoticeDialog() {...
When I run the App I always get this Error I wish for fix Thank you
How to add a textinputfield inside the dailog, which moves the field to top when keyboard pops up.
I added a TextFormField inside the dailog, issue I am having is when keyboard pops up the field lies under the keyboard, it doesnt moves up.
HI, I using yydialog to pop a textfield widget. I want the content always on top of keyboard, how to do it?
带参返回
如何带参返回
The following NoSuchMethodError was thrown while handling a gesture: flutter: The method 'findRootAncestorStateOfType' was called on null. flutter: Receiver: null flutter: Tried calling: findRootAncestorStateOfType() flutter:
```dart YYDialog().build(context) ..width = 220 ..borderRadius ..text( padding: EdgeInsets.all(25.0), alignment: Alignment.center, text: doubtStr, color: Colors.black, fontSize: 17.0, fontWeight: FontWeight.w500, ) ..divider() ..doubleButton( padding: EdgeInsets.only(top: 10.0), gravity: Gravity.center, withDivider: true, text1:...
当一个文本框正在编辑,键盘弹出时,调用弹出控件,控件弹出后,然后会自动隐藏,键盘又出现。
``` dart try { _loadingDialog = YYDialog().build(context) ..widget(SpinKitWave(color: Colors.white)) ..backgroundColor = Colors.transparent //..barrierColor = Colors.black.withOpacity(.3) ..borderRadius = 4.0 ..show(); //逻辑代码... }catch(e){ _loadingDialog.dismiss(); }finally{ _loadingDialog.dismiss(); } ``` 代码如上,当我使用try-catch时,如果此时没有异常,那么逻辑最终进入finally里面,弹框可以正常关闭,但是一旦逻辑抛出异常,此时无论进入catch还是进入finally,dismiss均无法关闭弹窗。
要更新Widget要怎么做 没有setState