Home > Net >  Flutter problem with access to Sqflite data via FutureBuilder. ConnectionState.done, null
Flutter problem with access to Sqflite data via FutureBuilder. ConnectionState.done, null

Time:01-06

Trying to change access to database from:

simply initializing access to data initState and then showing results in ListView.builder

to

ListView.builder inside the FutureBuilder.

However I lost my way in this FutureBuilder and my list is empty. I guess my problem is inside updateAndGetList(). In console I am getting this:

flutter: AsyncSnapshot<List<Word>>(ConnectionState.done, null, , #0      _RandomWordsState.updateAndGetList.<anonymous closure> (package:myapplesson/main.dart:115:7)

Can somebody help or nudge me in a right direction?

  •  Tags:  
  • Related