We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E/flutter ( 8836): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: inheritFromWidgetOfExactType(_LocalizationsScope) or inheritFromElement() was called before _Uploader.initState() completed. E/flutter ( 8836): When an inherited widget changes, for example if the value of Theme.of() changes, its dependent widgets are rebuilt. If the dependent widget's reference to the inherited widget is in a constructor or an initState() method, then the rebuilt dependent widget will not reflect the changes in the inherited widget. E/flutter ( 8836): Typically references to inherited widgets should occur in widget build() methods. Alternatively, initialization based on inherited widgets can be placed in the didChangeDependencies method, which is called after initState and whenever the dependencies change thereafter. E/flutter ( 8836): #0 StatefulElement.inheritFromElement.<anonymous closure> E/flutter ( 8836): #1 StatefulElement.inheritFromElement E/flutter ( 8836): #2 Element.inheritFromWidgetOfExactType E/flutter ( 8836): #3 Localizations.of E/flutter ( 8836): #4 debugCheckHasMaterialLocalizations.<anonymous closure> E/flutter ( 8836): #5 debugCheckHasMaterialLocalizations E/flutter ( 8836): #6 showDialog E/flutter ( 8836): #7 _Uploader._selectImage E/flutter ( 8836): <asynchronous suspension> E/flutter ( 8836): #8 _Uploader.initState E/flutter ( 8836): #9 StatefulElement._firstBuild E/flutter ( 8836): #10 ComponentElement.mount E/flutter ( 8836): #11 Element.inflateWidget E/flutter ( 8836): #12 Element.updateChild E/flutter ( 8836): #13 SingleChildRenderObjectElement.mount E/flutter ( 8836): #14 Element.inflateWidget E/flutter ( 8836): #15 Element.updateChild E/flutter ( 8836): #16 ComponentElement.performRebuild E/flutter ( 8836): #17 Element.rebuild E/flutter ( 8836): #18 ComponentElement._firstBuild E/flutter ( 8836): #19 ComponentElement.mount E/flutter ( 8836): #20 Element.inflateWidget E/flutter ( 8836): #21 Element.updateChild E/flutter ( 8836): #22 SingleChildRenderObjectElement.mount E/flutter ( 8836): #23 Element.inflateWidget E/flutter ( 8836): #24 Element.updateChild E/flutter ( 8836): #25 SingleChildRenderObjectElement.mount E/flutter ( 8836): #26 Element.inflateWidget E/flutter ( 8836): #27 Element.updateChild E/flutter ( 8836): #28 ComponentElement.performRebuild E/flutter ( 8836): #29 Element.rebuild E/flutter ( 8836): #30 ComponentElement._firstBuild E/flutter ( 8836): #31 ComponentElement.mount E/flutter ( 8836): #32 Element.inflateWidget E/flutter ( 8836): #33 Element.updateChild E/flutter ( 8836): #34 ComponentElement.performRebuild E/flutter ( 8836): #35 Element.rebuild E/flutter ( 8836): #36 ComponentElement._firstBuild E/flutter ( 8836): #37 ComponentElement.mount (package:flutter/src/widgets/ I/eiras.wavechec( 8836): Background concurrent copying GC freed 45355(2MB) AllocSpace objects, 0(0B) LOS objects, 49% free, 2MB/4MB, paused 8.883ms total 96.775ms
https://stackoverflow.com/questions/54910211/errorflutter-lib-ui-ui-dart-state-cc148-unhandled-exception
The text was updated successfully, but these errors were encountered:
fixed
Sorry, something went wrong.
No branches or pull requests
https://stackoverflow.com/questions/54910211/errorflutter-lib-ui-ui-dart-state-cc148-unhandled-exception
The text was updated successfully, but these errors were encountered: