Category "flutter"

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

YouTube video player in flutter

I'm using this package youtube_player_flutter: ^8.0.0 to display YouTube videos in my flutter application but I have a little of issues that I can't solve yet.

flutter - error in accessing camera

I am creating an app in which I need to use camera of mobile device. I have created below class class CameraWidget extends StatefulWidget { @override _Came

How to send List of objects in a multipart request in flutter?

I want to send a List of ManageTagModel in a multipart request along with other models and files.. I am not certain of how to send this List of model.. This i