skip to Main Content

I can't use a disposed TextEditingController when pushed to another screen and popped, is my understanding correct? – Flutter

I have a screen to create a post. There is a TextFormField there and I added dispose to its TextEditingController. However, I get an error: ════════ Exception caught by widgets library ═══════════════════════════════════ A TextEditingController was used after being disposed. ════════════════════════════════════════════════════════════════════════════════…

VIEW QUESTION

startimagestream in flutter not working in web

I'm using camera to get image stream in flutter. I'm getting this error while start stream Uncaught (in promise) Error: Assertion failed: file:///home/rahul/snap/flutter/common/flutter/.pub- cache/hosted/pub.dartlang.org/camera-0.9.8+1/lib/src/camera_controller.dart:422:12 defaultTargetPlatform == TargetPlatform.android || default here is my code // ignore_for_file: unused_local_variable, avoid_print, unused_element, unused_import, depend_on_referenced_packages,…

VIEW QUESTION
Back To Top
Search