Category "flutter"

SingleChildScrollView makes the UI white

I am trying to make my UI scrollable but when i add the SingleChildScrollView i get this white screen not showing anything at all.I should erase the Column from

Can't manage to fetch data from a second JSON file

I'm trying to use a fetched data from a JSON file to make another fetch on a second screen. Let's say I have a JSON file that was fetched via www.fruits.com/dat

Exception in thread "main" java.util.zip.ZipException: error in opening zip file When testing the application

In Android Studio the application was running on Real device, it was exported in ABK format .. But after a while, this error appears I read about gradle but did

Flutter: unexpected space at the top of ListView

I have the following source code: @override Widget build(BuildContext context) { return Scaffold( body: CustomScrollView( controller: scrollControll

ImagePicker.platform shows warning - Flutter

I am using the following code to pick an image from user's gallery. Future getImageFromGallery(BuildContext context) async { await ImagePicker.platform()

getting this error: java.net.BindException: Address already in use: Cannot bind

Hello am building a flutter apk using vscode but I get the error below, any help on how to go about it. Did a research but am getting no solution. I have config

Difference between Thread, Isolate and Process in Dart

What's the difference between Thread, Isolate and a Process in Dart? As far as I know Dart is a single-threaded language, but it can spawn many isolates which d

Crash when permission changed manually

Flutter app crashes when user manually changing location perimssion from allow to deny. Is this a normal behavior ?, i've tried to change manually the permissio

Create flutter chart with json api data

I'm creating a flutter app to receive data from the Yahoo finance API and show this data in a chart widget. This is my detail page, getting the "Symbol"-Informa

How to set status bar color if using sliver app bar

As I am having sliver app bar in my screen, I am not using AppBar() widget. So by default the status bar color is white. Is there a way to change the color of s

Generic navigation listener for whole application

I'm trying to find a way to setup a global Navigation listener in the Root of my app (MaterialApp) which can allow me to track all navigation events including t

Flutter pod install error when i add package firebase_core

I added my Firebase project for ios and android. I did not have a problem in Anroid, but when I run it on IOS, pod install gives an error. The error description

Android SDK built for x86 does not support profile mode?

it throws this error when I run --profile H:\MyApp>flutter run --profile Profile mode is not supported by Android SDK built for x86. but H:\MyApp>flutt

Flutter method channel error. { Unhandled Exception: MissingPluginException(No implementation found for method getBatteryLevel on channel battery) }

so i followed everthing from 'https://flutter.dev/docs/development/platform-integration/platform-channels?tab=android-channel-java-tab' but when I click the flo

Flutter OpenWeatherMap api fetch forecast

So... I got this One Call Api which also includes forecast for 7 days. I managed to get display the current weather (temp, and icon) but how do I get the foreca

Flutter - how to trigger a function after the async function is completed

Hi I would like for the addUserToFirestore() function to trigger after the code above has done being executed Future<void> registerAccount( String e

Deleting a folder from Firebase Cloud Storage in Flutter

I have a Flutter mobile app in which I am trying to delete a folder (and its contents) from Firebase Cloud Storage. My method is as follows: deleteFromFirebaseS

Experience with Revive Add-Server integration

We have an existing Flutter based mobile application, pulling advertising content from our own CMS, using REST API's and Cloudinary as the CDN. We are consideri

TextInputType.number incorrectly shows sign decimal buttons

According to the docs, TextInputType.number should show a keyboard without sign and decimal buttons, like this: But when I call TextField( : keyboardType:

What is the use of BlocSelector in flutter_bloc

There is no example found for the usage of BlocSelector. Anyone knows the real usage of it?