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
No changes were made to the example code pulled from the master branch.
I am running on flutter 2.0.3
LOG:
I/flutter ( 9745): Italy
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building Builder(dirty, dependencies: [MediaQuery]):
Looking up a deactivated widget's ancestor is unsafe.
At this point the state of the widget's element tree is no longer stable.
To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
The relevant error-causing widget was
MaterialApp
lib\main.dart:13
When the exception was thrown, this was the stack
#0 Element._debugCheckStateIsActiveForAncestorLookup.
package:flutter/…/widgets/framework.dart:3864 #1 Element._debugCheckStateIsActiveForAncestorLookup
package:flutter/…/widgets/framework.dart:3878 #2 Element.visitAncestorElements
package:flutter/…/widgets/framework.dart:3964 #3 InheritedTheme.capture
package:flutter/…/widgets/inherited_theme.dart:158 #4 InheritedTheme.captureAll
package:flutter/…/widgets/inherited_theme.dart:126
...
═══════════════════════════════════════════════════════════════════════════════
The text was updated successfully, but these errors were encountered:
iulian0512
changed the title
FormBuilderSearchableDropdown crash when inputing text
FormBuilderSearchableDropdown error when inputing text
Apr 20, 2021
No changes were made to the example code pulled from the master branch.
I am running on flutter 2.0.3
LOG:
I/flutter ( 9745): Italy
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building Builder(dirty, dependencies: [MediaQuery]):
Looking up a deactivated widget's ancestor is unsafe.
At this point the state of the widget's element tree is no longer stable.
To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
The relevant error-causing widget was
MaterialApp
lib\main.dart:13
When the exception was thrown, this was the stack
#0 Element._debugCheckStateIsActiveForAncestorLookup.
package:flutter/…/widgets/framework.dart:3864
#1 Element._debugCheckStateIsActiveForAncestorLookup
package:flutter/…/widgets/framework.dart:3878
#2 Element.visitAncestorElements
package:flutter/…/widgets/framework.dart:3964
#3 InheritedTheme.capture
package:flutter/…/widgets/inherited_theme.dart:158
#4 InheritedTheme.captureAll
package:flutter/…/widgets/inherited_theme.dart:126
...
═══════════════════════════════════════════════════════════════════════════════
The text was updated successfully, but these errors were encountered: