File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class _HomePageState extends State<HomePage> {
28
28
//--------- build method end here ------------------
29
29
30
30
StreamBuilder <List <TaskTable >> _buildListView (BuildContext context) {
31
+ //NOTE: Do not forget to set (listen: false) otherwise Provider will mesh-up Programe_counter, and code will no longer excecute further more
31
32
final taskTableDaoObjc = Provider .of <TaskTableDao >(context, listen: false );
32
33
33
34
return StreamBuilder (
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ class _InputBoxState extends State<InputBox> {
46
46
controller: txtController,
47
47
decoration: Constants .inputDecorationNewTask,
48
48
onSubmitted: (newTypedText) {
49
+ //NOTE: Do not forget to set (listen: false) otherwise Provider will mesh-up Programe_counter, and code will no longer excecute further more
49
50
final taskTableDaoObjc =
50
51
Provider .of <TaskTableDao >(context, listen: false );
51
52
final newTaskObjc = TaskTablesCompanion (
You can’t perform that action at this time.
0 commit comments