Category "flutter"

Getting error while running command "flutter build --release"

The android studio builds the apk perfectly with the following command : "flutter build apk" but is throwing error when I try to run "flutter build apk --releas

The body might complete normally, causing 'null' to be returned, but the return type, 'State<StatefulWidget>', is a potentially non-nullable type

I'm new in flutter. I tried to build a webview that have a token. I have used statefull widget but I am facing this error The body might complete normally, caus

Flutter: I can't pull data with Mysql1

I recently started Flutter. I want to make a simple contacts application with "mysql1" but I failed to pull the data. I installed the MySQL plugin in VS Code an

type 'List<dynamic>' is not a subtype of type 'List<Parking>'

I'm calling an API but I've been trying to parse this JSON response correctly but I haven't been able to resolve this issue. I call the API, and want to display

How to create dynamic introduction_screen in Flutter with introduction_screen package package link in description

How to create dynamic introduction_screen in Flutter with introduction_screen package. Means We are pass 3 screen in api. introduction_screen 3 pages. We are pa

Flutter/Dart: How upload binary file to Dropbox?

I'm trying to upload a binary file to Dropbox using https://github.com/dart-lang/http. Following https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload

Is it possible to pick out an item from a list of widget's based on the widget's value in dart / flutter?

I have a list of PopupMenuItem<T> as part of showMenu and I need to access the key for any given item when its clicked. When you click on an item, the sh

Offset argument contained a NaN value flutter fl chart line chart

my purpose is to get a data set to plot a line chart using fl chart package in flutter. But i am getting a exception called offset contain nan value.But the off

Preserve state and prevent initState of been called more than once

I have 3 page (all statefull widgets) : Home page Weather page Setting page The things is when i'm going from home page to weather page with a "Navigator.pushNa

Firebase Authentication with custom domain

I have a question about Firebase Authentication for custom domains. I added the dns record and tried to verify the email after 24 hours, but when I click the li

rebuild my screen with future provider for specific widgets using id root

im trying to retrieve tasks from project in another words i want to rebuild my screen on viewing tasks with specific forgin key projectId i got this error while

Flutter android app doesn't have internet connection

I built an flutter app. I used url_launcher package to navigate social links and other external browser links. And it was perfectly working on android emulator.

Update list of data using REST api

hi am a beginner with flutter and am trying to build a app and in that app i want to let the user update a data that he can accede from a list so when he press

Parsing Nested JSON leads to fromJson methods having a "The class 'Data' doesn't have an unnamed constructor." error

So I am trying to parse a Nested JSON from a GET request from VirusTotal but when I create the methods to parse the JSON for what I am looking for it is giving

Trying to build a future context but my build method has an error

I have this code and the problem is that: 'ProfileView.build' ('Future<Widget> Function(BuildContext)') isn't a valid override of 'StatelessWidget.build'

Unable to show the Y axis value in bar tooltip by default using fl_chart package

I am working on bar chart view using fl_chart package and i able to show the bar chart but unable to show the Y-axis value in each bar by default the way i expe

Grey screen in release mode (IOS - Flutter)

I am getting a grey screen on two pages in my app, I m facing this problem only in release mode when I installed it from TestFlight. there is no error in debug

Creating a list of objects from a nested JSON in Flutter

There's a URL address that I decoded to JSON, and there's a certain header (result) that I'm trying to convert to a list of objects (Book). When I print the con

How do I change flutter_ling version in flutter project?

Here I trying to add dependency geoflutterfire: ^3.0.3 After adding this line in pubspec.yml I presses pub get to get all package which I listed in it. But I g

Flutter 3 : Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null [duplicate]

I just upgraded to Flutter 3 and my flutter project console is full of warnings. Did anyone know how to fix these warnings or should I wait fo