Category "flutter"

Warning: Operand of null-aware operation '??' has type 'Color' which excludes null

I have upgrade flutter version to 2.0.4, when I run the project(this project was runing on old flutter version)it throws warning because of package I used. this

Flutter Execute Method so long the button pressed

I want to execute a method while a user is pressing down on a button. In pseudocode: while (button.isPressed) { executeCallback(); } In other words, the exec

ScrollController not attached to any scroll views

I'm using CustomScrollView, and providing it with a controller. ScrollController works, I even added a listener to it and print out the position of the scroll v

How to refresh a FutureBuilder in stateless widget

I'm using provider as a state management solution and I want a way to refresh the FutureBuilder without setState

How to do popup what will be visible when no TCP connection is established and closes after it connects?

I'm totally new to flutter. I need to do a simple app that fetches a few data from a device over wifi (the device acts as AP). I want to have some popup shown,

How to dynamically create onTap gestures as a user inputs text?

I want to create a custom input field which matches some known strings and then changes the style and adds an onTap gesture when those text values are pressed (

I do not get error, but I cannot nunning iOS simulator when I debugging in flutter... It's always show me lost connection to device

I do not get error, but I cannot nunning iOS simulator when I debugging in flutter... It's always show me lost connection to device. Where has issues?

I do not get error, but I cannot nunning iOS simulator when I debugging in flutter... It's always show me lost connection to device

I do not get error, but I cannot nunning iOS simulator when I debugging in flutter... It's always show me lost connection to device. Where has issues?

Your bucket has not been set up properly for Firebase Storage

Please can someone help me with this error from firebaseStorage? Caused by: java.io.IOException: { "error": { "code": 400, "message": "Your bucket has n

How to make transparent sliverappbar in flutter?

I'm trying to make e-commerce app in flutter. I wanted to make Appbar transparent and have animation, so I use Sliverappbar but I can't make it transparent with

Flutter: animate item removal in ListView

I am building a ListView from a Stream. I need to animate deletions and insertions to that list, but have no idea how. I have seen this sample by Flutter but i

What is Constraint layout's equivalent in Flutter?

Can I position a widget based on another widget? like this: Tiled Layout Without flutter_staggered_grid_view Library

RangeError (index): Index out of range: no indices are valid: 0

I got this when I was using Hive Database in Flutter. Find out answer below

creating an empty json object from dart object in flutter

I have a class class User{ String name; Address address; } and class Address{ String houseId; String location; } how can I make an empty address json ob

Flutter error Unable to start the daemon process

My flutter project is run smoothly in my old laptop. But when I use my new laptop, my flutter project can't run in debug mode. This error FAILURE: Build faile

Flutter: How to show a message if snapshot has no data

I have a simple problem in flutter but I cant quite figure out how to solve it. So here it is. I'm trying to show a message in my app if the snapshot that I'm c

How to make BottonNavigationBar route to different body Containers in Flutter

I'm creating a simple app consisting of three pages, the only thing to be changed when using the navigation bar is the body. I need every body to be in it's own

Flutter app does not start in debug mode

I had simple Flutter app with debug config. After I change the gradle config and other stuff to build apk in release mode.I did all the config based on the docu

How to pass a function through the constructor of a class?

I would like to pass a function through the constructor of a class. but when i call it, nothing happening. debug write: func : {_Closure} import 'package:flutt

Error "[core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()" is thrown [duplicate]

I have a main file which returns home page and on the home page I am trying to call a new file (test.dart). Now the problem is this test.dart