skip to Main Content

Flutter Background Image Border with Bg

Hello can someone help me with this. I try to code(on the image) I am not sure if i should use cardbox or container here or anyother widget import 'package:flutter/material.dart'; class AppHome extends StatefulWidget { const AppHome({super.key}); @override State<AppHome> createState()…

VIEW QUESTION

fetching data from supabase tables in flutter

I have a test project a Supabase website with these 2 tables : and this is my main file : import 'package:flutter/material.dart'; import 'package:supabase_flutter/supabase_flutter.dart'; Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); await Supabase.initialize( url: 'https://fszmicgacuftwaxzrydi.supabase.co', anonKey: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImZzem1pY2dhY3VmdHdheHpyeWRpIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTQ4MDY0MzIsImV4cCI6MjAzMDM4MjQzMn0.BhjbhjnuuIcFDZwtUF7FWehbna7KSrChm_s7UAJpRLdukvtko', ); runApp(MyApp()); } final supabase…

VIEW QUESTION

Flutter – What is MapEntry used for?

I am new to dart, and I came across the following code. This apparently updates the document in the firebase. Can someone explain in detail, what it really does? abstract class FirestoreDocumentUpdater { static Future<void> update( // ignore: use_function_type_syntax_for_parameters DocumentReference<Map<String,…

VIEW QUESTION
Back To Top
Search