// Automatic FlutterFlow imports import '/backend/supabase/supabase.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/custom_code/actions/index.dart'; // Imports other custom actions import '/flutter_flow/custom_functions.dart'; // Imports custom functions import 'package:flutter/material.dart'; // Begin custom action code // DO NOT REMOVE OR MODIFY THE CODE ABOVE! Future<List<String>> getDashboarddata() async { // Add your function code here! // create a supabase query final client = SupaFlow.client; final response = await client.from('YOU_TABLE_NAME').select(); if (response.error != null) { throw response.error!; } return response.data; }