You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this progress dialog library to show progress UI when app is performing something serious IO stuff. But i noticed when we double tap or long press on any Text Input Field, App crashed / shows Red screen in debug.
Here is the related logs:
======== Exception caught by widgets library =======================================================
The following ArgumentError was thrown building _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#235b1](dirty, dependencies: [MediaQuery], state: _OverlayEntryWidgetState#faabb):
Invalid argument(s): 26.0
The relevant error-causing widget was:
ProgressDialog file:///Users/bipinvaylu/Documents/Work/Workspaces/xyzapp/lib/main.dart:89:24
When the exception was thrown, this was the stack:
#0 double.clamp (dart:core-patch/double.dart:183:7)
#1 _CupertinoTextSelectionControls.buildToolbar (package:flutter/src/cupertino/text_selection.dart:478:72)
#2 TextSelectionOverlay._buildToolbar (package:flutter/src/widgets/text_selection.dart:578:34)
#3 _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:179:34)
#4 StatefulElement.build (package:flutter/src/widgets/framework.dart:4744:28)
...
====================================================================================================
I don't see any proper solution as of now. Please help me here to resolve this issue. Else i might need try and switch over to other library and that some extra work. Thanks.
The text was updated successfully, but these errors were encountered:
Thanks @jnrbo for your efforts and this solution will help me someday when i use this library again. For now, I switched to another library and which works great for me so far.
I am using this progress dialog library to show progress UI when app is performing something serious IO stuff. But i noticed when we double tap or long press on any Text Input Field, App crashed / shows Red screen in debug.
Here is the related logs:
main.dart - MyApp:
Text input field setup in other screen as follow:
I don't see any proper solution as of now. Please help me here to resolve this issue. Else i might need try and switch over to other library and that some extra work. Thanks.
The text was updated successfully, but these errors were encountered: