v1.26.10 login exception handling with bloc 8.0

This commit is contained in:
Tibor Bossanyi (Freelancer)
2022-10-19 21:55:17 +02:00
18 changed files with 390 additions and 339 deletions
@@ -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);
},