Category "flutter"

Error when listviewBuilder scrollDirection is horizontal

I got this very simple code, but somehow I get an error when I set scrollDirection to Axis.horizontal I invoke this widget in Page that has MaterialApp and Scaf

Using Dart 2.17 Super Initializer for Widget key

Now that Dart 2.17 allows for the super initializer feature it seems that I can now replace my default boilerplate class WidgetName extends StatelessWidget {

How to observe the local db changes using getx in flutter

I am facing issue while observing the last changes in local database but without using the fetch query. I want the list to be updated automatically on ui whenev

Skip an item in gridview without leaving a hole

I'm building a gridview displaying thumbnails and do not want to show the items at index 0. I have a different widget where I show thumbnails using a listview

Class X is implemented in both places One of the two will be used Which one is undefined M1

I use Mac M1 and After I upgrade Xcode 13.3.1 , I got this error when I make a build for the project: Class AppleTypeCRetimerRestoreInfoHelper is implemented in

Face Swap and Face Detection/Recognition in Flutter

How does one go about creating a Face Swap mechanism in Flutter? Is it possible to do real time face swap in Flutter? Can anyone point me in the right direction

Delete user account in firebase

i have a flutter application where users have an email and password (accounts) and i want to give the user the option to delete their account if they want to, t

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