How to store supabase table data as list in App state?

Actions & Logic

Hi, is it possible to store list of data in an appstate variable that can be filtered and displayed in flutterflow?

suppose I have 10 rows (id 1 - 10) with 10 question with 4 answers(columns names - answer1, answer2, answer3, answer4) and 1 correct answers column for each question inside a table called 'questions_all'


I need to somehow be able to load all these questions and answers at once from Supabase to Flutterflow into a appstate before starting a trivia game so that there is no delay in loading it question by question during the game. so that the game works when there is a break in the internet connection or slow internet.

Possible to do this? if yes can someone explain the steps?

What have you tried so far?

I've tried to insert the query into app state list but everything is shown as red.

Did you check FlutterFlow's Documentation for this topic?
No
2
6 replies