v1.26.10 login exception handling with bloc 8.0
This commit is contained in:
@@ -296,7 +296,7 @@ class DropdownSearchState<T> extends State<DropdownSearch<T?>> {
|
||||
initialValue: widget.selectedItem,
|
||||
builder: (FormFieldState<T> state) {
|
||||
if (state.value != value) {
|
||||
WidgetsBinding.instance!.addPostFrameCallback((_) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
state.didChange(value);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ class _SelectDialogState<T> extends State<SelectDialog<T?>> {
|
||||
content: _errorWidget(error),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: new Text("OK"),
|
||||
child: const Text("OK"),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop(false);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user