Category "flutter"

In Flutter, how can you dynamically assign height to child elements in Card?

I am new to Flutter and I'm trying to create a layout that is responsive to different screen sizes. I've spent a lot of time reading the Flutter documentation,

Flutter: Move to a new screen without using navigate

do you have any way to open new screen without using navigation, i want when i open a new screen, the fist stop and play continuous when i go back from the seco

How to avoid full page reloading when keyboard pops up?

Check out this video for problem demo https://youtu.be/GsdWcTEbUbg As there is a large number of code, I will try to summarize the structure of the code here.

Download Files in Flutter InAppWebview

I am Using the flutter_webview_plugin Package for displaying Web Page. On the Webpage, we had a feature to download files. the logic for the Downloading File is

Flutter problems with loading picture with SvgPicture.assets

I am trying to load an image to my flutter app and for some resone I get an error that I dont know how to fix this is my code: import 'package:flutter/material.

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){