Category "flutter"

Foodizone android studio running issue

I have foodizone flutter app, but when I try to build it in the android studio it gives an error main file missing, How to fix it? i have tried to clean with f

Using a Stream builder inside a Future builder (Flutter with Firestore)

I want to use a stream to get data from a Firestore document, but getting the stream involves reading from Firestore first. This means that it is async, and the

flutter- I don't know the difference between these two case

Case 1 : children: DUMMY_CATEGORIES.map((catData) { CategoryItem( catData.title, catData.color, ); }).toList(), Case 2 :

How to implement Uniformly Accelerated Motion Formula into Flutter Animation

I tried to create a Flutter Web App that can simulate Uniformly Accelerated Motion. So, I create a circle as the simulation object and some buttons. When the us

Refreshing a screen to update data in Flutter

I am trying to understand how to refresh my app screen with new data. The app is a dashboard that has several job cards and when another user applies something

How to generate List<TextSpan> dynamic?

Good Morning everyone, I Have different words of different lengths and I Need to create a dynamic List of TextSpan with every letter from the current word. I ha

Flutter desktop opens a new window

When clicking a button I want to open a separate new flutter window on my desktop flutter application. How can I do that? It must work separately. My OS: Window

How to stop phone's default font size from influencing font size inside the Flutter app?

So I made a Flutter app. I defined all the font sizes to be dynamic (render properly as per the screen sizes). Everything was working great until I opened the a

Flutter web view doesn't work on release mode

I'm creating a Flutter application. If I run this application on debug mode webview works well but if I run this application on release mode it shows blank scre

Flutter performing hot restart instead of hot reload

I just updated my flutter folder from 2.15 to 3.0. My app runs fine but there's a big problem: when I do CTRL+S, instead of reload my current page to see the ch

Flutter Web Persian/Arabic Strings Not Showing Properly on the UI

I just started to migrate to Flutter web and just at the start point, encountered this strange problem. When using Persian/Arabic Characters in code, it would b

Unhandled Exception: PlatformException(Failed to run model, Interpreter busy, java.lang.RuntimeException: Interpreter busy

I am trying to create an android application utilizing the MoveNet model from TFlite. The application is built but the following message occurs. The widgets are

Factory - A value of type 'B' can't be returned from the constructor 'A.factoryConstructor' because it has a return type of 'A<T>'

I have this simplified code: enum Types { b, c, } class A<T> { A(); factory A.factoryConstructor(Types type) { switch(type) { case Typ

I am getting this error while creating a new flutter project in android studio related to pubspec.yaml

name: i_am_poor description: A new Flutter project. publish_to: 'none' version: 1.0.0+1 environment: sdk: ">=2.16.2 <3.0.0" dependencies: flutter: sdk: fl

The operator '[]' isn't defined for the type 'Object'. Flutter Dart

Hello, could you help me with this error, I don't know how to solve it import 'package:firebase_database/firebase_database.dart'; class Users { String id;

How to fix this issue ? FAILURE: Build failed with an exception

I try to add a package name as new_version: ^0.2.3. After the terminal return the below error. How can I fix this? FAILURE: Build failed with an exception. Wher

The method '[]' was called on null. Receiver: null Tried calling: []("main") console error

Hi i am working on a weather app i learnt from a course, everything was working fine till i start with the refactoring and it just got complicated the code show

Positioning Row at bottom of stack Flutter

I have a stack with a fixed height, I want to place a row that contains multiple elements at the bottom of this stack. I wrapped my row that has mainAxisAlignme

Flutter : endDrawer icon hiden or actions button hiden

I had in my code a Drawer, and to hide the burger incon, i use "automaticallyImplyLeading = false". But now, i change to endDrawer and i dont know how the hide

Timer is not worked in background flutter

This code is not printed, when app go to background in iOS. Timer.periodic(Duration(seconds: 1), (timer) { print('timer'); } I need to save state to database a