Fixes TextEditingController used after being disposed the controller was being manually disposed while the dialog's TextField still held a reference during the pop animation. Now the dialog is its own StatefulWidget so dispose() is called automatically by the framework at the right time. |
||
|---|---|---|
| .. | ||
| main.dart | ||
| scanner_screen.dart | ||