Fetch data from Supabase to FlutterFlow via custom action

Actions & Logic

I need to create excel file based on the data in the Supabase table. I already managed to code the file creation, but for some reason can't insert data from Supabase.

My code is below. I inserted only the part about Supabase cause everything else works fine. Could you please help me out to find the mistake? I have zero background in coding - that might be the reason I can't see the problem.

final supabase = Supabase.instance.client;

final response = await supabase.from('User projects').select().execute();

final List<dynamic> data = response.data;

for (var project in response.data) {

sheetObject.appendRow([project['project name'], project['task'], project['hours'], ]); }

What have you tried so far?

Read through community questions, watched YouTube tutorials, read documents.

Did you check FlutterFlow's Documentation for this topic?
Yes
3