When using getX and Flutter I get following error: LateInitializationError: Field '_instance@141084504' has not been initialized This is the code: import 'dart:
In this current snippet I have declared notification to be nullable but get an null safe error for the if loop's notification.body and notification.title. Here'
In a Flutter web project, I'm having this issue with Riverpod: Consumer( builder: (context, watch, child) { final om=watch(human); return Text(om.na
I made the small app, and designed like this: return MultiProvider( providers: [ ChangeNotifierProvider(create: (context) => AModel()),
I am unable to assign my one class to another even though I have imported the lib for them. I am following a course . In this I will fetch the orders from fireb
Firstly, Look at the screenshot that I've attached, It is giving me red lines (look to the right) in my entire code (386 errors in 766 lines) all of a sudden (
I have a route setup. In the browser, it looks like this. localhost:1234/#/member/D8B5D7F17639A28FE83C47AFFC69592E? I use an onGenerateRoute function like this
The following is what is returned from a Flutter widget: return Center( child: Column( children: [ SizedBox(
I'm making my first Flutter app and I encounter a problem and doesn't found any solution for it. I have a view where I render a Firestore document, and there is
I got Flutter installed. No problems with flutter doctor. Installed Dart en Flutter in Android Studio, opened a new Flutter project and chose for Flutter (and f
I need to implement a scrollable list, so that the element in the center is automatically highlighted. How to keep track of the central element and constantly h
Showing this problem every time suddenly, There was no issue at first. AVD can run app but in physical device its not even running Column( children: [
I just upgraded my flutter to the latest version, (3.0.0) and My projects keeps giving me these warnings and Errors: ../../../../flutter/.pub-
I want to create an authorization check to display different screens depending on whether the user is logged in. When the user is logged in, then HomeScreen ()
I just update dart sdk to 2.17 and when I use snipplet (in VScode) to auto generate code for Stateless/Stateful it auto import these two package. But it tel
I'm trying to integrate with HyperPay for payment . I'm using there demo for test . This is the demo demoUrl And I got this response payment_statusData: {resul
Im new in Flutter and i'm struggeling with a nested JSON from API which data i want to show in one single page. I get this JSON from a URL and decode it in a cl
Launching lib\main.dart on M2003J15SC in debug mode... lib\main.dart:1 Plugin project :firebase_core_web not found. Please update settings.gradle. Invalid depf
I am trying to implement stream builder with cloud firestore to retrieve field data. Here is the code: @override Widget build(BuildContext context) { retu
I'm getting following error when I try to pre-cache SVG files in flutter using flutter_svg library: > flutter: ══╡ EXCEPTION CAUGHT BY