Open Cypher-XI opened 5 years ago
Try with:
controller?.dispose();
before popping the screen
Try with:
controller?.dispose();
before popping the screen
No use. I couldn't see any difference in debug console
sane error
I have faced the same problem. My problem solved when I dispose animationController
too.
@override
void dispose() {
animationController?.dispose();
controller?.dispose();
super.dispose();
}
How could I close the scanner properly when onCodeRead is triggered?
my onCodeRead method is,
getting the flowing error log continuously
I/flutter (29734): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3473 pos 12: '_debugLifecycleState != _ElementLifecycle.defunct': is not true.
How could I fix this issue?