Canot Get data from sqlite database Exception: Control must be added to the page first. #687
bobwatcherx
started this conversation in
General
Replies: 1 comment
-
I haven't run your code, but I think I have an idea :) Let me know if it works.. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm making a CRUD with sqlite I want to put all the data from the database into the listview widget and do a loop and append to the listview but doing for on init doesn't seem to work how to get the data ( SELECT * FROM tbl) and doing and looping into the widget and if i click listview widget automatically get its id
code
action.py file
ERROR MESSAGE
Why isn't there a listview.builder widget like in flutter so that it makes it easier to loop and render widgets automatically. so you don't have to
FOR x in data :
widget.append()
and do an append again
Beta Was this translation helpful? Give feedback.
All reactions