StreamBuilder throws dirty state
问题 I am trying to fetch some data from the internet, store it to my sqlite database and display it on the screen using a ListView . When I fetch the data for the first time everything works fine and I am able to see the data on the screen, the data is also inserted in the sqlite database, but when I reopen the app I get an error saying flutter: The following NoSuchMethodError was thrown building StreamBuilder<StudentModel>(dirty, state: flutter: _StreamBuilderBaseState<StudentModel,