Class A is preparing to fill list from the database class. I want my checkPrefsUploaded() and updateUI() to run after the database has been read and filled the list. At the moment it is isn't being read because the flag is always false. How do I change the flow to make sure it is ready to run. It's in the memoizer method because this is when the user turns on their phone and all stored preferences restores pre-saved list attributes.
Flutter flow problem - UI update needs to happen after database info has been added to my list
213 Views Asked by fluttergogo At
1
There are 1 best solutions below
Related Questions in FLUTTER
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- Way to get CustomPainter to track face in Camera Flutter MLKit
- flutter Null check error: did not show file and line number
- Creating multiple instances of a class with different initializing values in Flutter
- I want to paste stickers into to my TextField and to show the stickers beside the emojis
- Flutter plugin development android src not opening after opening example
- Module not found when building flutter app for IOS
- How to make barrier area interactive in flutter modal bottom sheet
- Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
- I wrote this time displaying FLUTTER app, How can I improve it?
- Appwrite and / or Spring Boot Backend
- Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
Related Questions in FLUTTER-LISTVIEW
- Better Player show Video Cant play while using in Listview.builder
- Flutter - When an element is deleted from the ListView, the state of the element under deletion is reset
- BoxConstraints forces an infinite height: SizedBox.Expand()
- ListView.builder within ExpansionTile children is not showing when tile is expanded in Flutter
- Pagination in ListView inside ListView flutter
- Button is not changing background color on click in ListView
- In my flutter app, Last two product are not completely showing
- flutter 2 listview on one page,
- Background of List Item displaces when items are reordered
- How can I update my List<Map<String,dynamic>> using GetX in flutter
- Centered horizontal Listview.builder non scrollable Flutter Dart
- Trying to keep Widgets alive in Listview.builder
- flutter ListView builder is rebuilding her widgets every time the list changed
- When using BackdropFilter in ListView, BackdropFilter is disabled at the timing of the stretching overscroll effect
- It works fine on Flutter Android, but the input is stuttering or slow on iOS
Related Questions in FLUTTER-DATATABLE
- In flutter how to remove thick frame around DataTable2()
- How to prevent Flutter DropdownButton from returning route error before being clicked before it is loaded to widget tree?
- Navigate trough selected datarows in flutter via arrow down/arrow up
- Is there a way to handle double click in Flutter DataRow?
- How to let column not be wider than a specific widget
- Flutter flow problem - UI update needs to happen after database info has been added to my list
- Flutter DataRow.key does not show key for find.byKey Widget Testing
- Connect the flutter with MySQL database with Nodejs API?
- How to restrain DataTable to just expand on max height or lower
- Flutter dynamic DataTable
- PaginatedDataTable not scrolling horizontally
- Sorting columns in Flutter datatable
- How do I change the color of the sorting icon in a DataTable?
- Error while starting the server by using serverpod
- Flutter SFDataGrid display the row details in a separate screen instead of Alert Box
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

You just need to wait until the database is ready.
Also check if your
checkPrefsUploaded()method is async, so you can await for the response.