Category "flutter"

Fetch data from firestore inside a stream map

Is it possible to let a stream await during a fetch from firestore? I want to achieve that a user also fetches his own roles from the firestore database. Of cou

Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications [Codemagic]

Since I updated my flutter project to v2 I'm getting this error on Codemagic and I don't know what to do honestly. I'm using Windows 10 to develop on Flutter an

Flutter - How to change IconButtons size with Theme

I have a Row with multiple IconButtons and I need to change their color and size. I managed to change the color, but I'm not able to change the icons size. Ico

How to make InkWell `onLongPress()` override tap on a TextField inside of it?

I have a TextField inside of an InkWell with an onLongPress() callback. The problem is, despite the fact that even when long pressing on the TextField, I see th

Play Audio in Flutter from URL

I am new to flutter and I want to play audio file from URL path with play, pause and seek button and also show notification in player.

Failed host lookup, No address associated with hostnam

I'm trying to fetch data from url api laravel(Laragon) but i am facing this issue. SocketException: Failed host lookup: 'pfe_web.test' (OS Error: No address as

The argument type 'Future<Widget>' can't be assigned to the parameter type 'Widget'.dart

Here I have to use pdfImageFromImageProvider function to stateless widget. So, Is it possible to resolve this issue using stateless widget? Future<Widget>

Update the Android Gradle plugin to version 3.2.0 or higher / generate Flutter signed APK

I'm developing a flutter cross-platform supporting app using Android Studio. Now I'm trying to generate signed APK for app-release but I face this following err

flutter waning schedule binding while using listview builder

import 'package:firebase_storage/firebase_storage.dart'; import 'package:flutter/material.dart'; import 'package:firebase_core/firebase_core.dart'; import 'pack

How can I use Future builder with provider?

My main objective is to show a CircularProgressIndicator before I get a location address placename but I keep getting this error The getter 'placeName' was cal

Why is my Checkbox not updating when I pass a callback from a stateful widget to stateless widget?

Im trying to use Lift the State for my Checkbox and I know that by changing my TaskTile to a stateful widget ill be able to solve my problem but I want to know

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 on Apple Arm

I have installed Android Studio Canary 2020.3.1.22 and trying to run Flutter project on Apple Silicon(ARM) Mac. Unfortunately, it is giving me this error when I

I have some problems with Youtube Player Flutter

I've been trying to solve this problem by myself but I just accepted that I can't. So I'm here to ask you guys for help. I'm trying to use the Youtube Player Fl

GeneratedPluginConstraint , Fatal error: module 'firebase_auth' not found @import firebase_auth;

so I've got this error in my last project while trying to link it with firebase for my flutter app. So for this project , I downloaded it from my github which I

FireStore Query does not return records although there is data

Tried to query DB from Flutter with following snippet await _firestore.collection('products').get().then((docs) => { if (docs.docs.isNotEmpty){

Flutter TextField Hint Text Not Align Center

Container( alignment: Alignment.center, de

Getting Incorrect use of ParentDataWidget error when I use ListView

In this part of my application I have ListView, when I run app I get this error and I can't resolve that: Scaffold( body: Directionality( textDirection: TextD

Convert List <double> to Double

I want to convert the double type of list into a double variable, my code is something like this... var _first=<double> [108,105,90.833,87.7,88.6]; v

TextField inside of Row causes layout exception: Unable to calculate size

I’m getting a rendering exception that I don’t understand how to fix. I’m attempting to create a column that has 3 rows. Row [Image] Row [T

Flutter error, Null check operator used on a null value

Whenever I tried to do register and tap on the register button then I am having this type of problem with the null check operator used on null values. I get thi