I am trying to get the difference in Days between two dates picked from a DatePicker. This works fine except for ONE single date : March 31. The difference in
I would like to access the index of a list and concatenate it to the index of another list. For example, the first user's input is "AB" and the second is "CD",
Is it good practice to require named parameters for data models in flutter when you know that the data should always have a specific field like an id or usernam
I've been working on an app in which I want to add an image in the ExpansionTile function but the catch is that flutter don't allow us to add image in that. For
I'm trying to use a Timer.periodic function in flutter and it seems that when I call it, it waits for the specified duration that I put in for the time between
I have a very strange issue for my current project using Flutter and getx package. Short: the Notifier is not working. On initState from a GetBuilder I try to u
Flutter beginner here; I'm getting this error: type 'Future<dynamic>' is not a subtype of type 'String' Function that fetch download url from firebase st
I have started learning Flutter recently and wanted to know how to write code that displays multiple text field of same sized box, text style, decoration. I hav
i want this type slider in flutter any one please help me i want to make this type slider with the same value get by the slider value i am facing the problem to
I was working to make a crypto app but I have some issues displaying crypto pairs in UI. I've tried different ways but it's not working. Please can you suggest
i am making a multilingual shopping app and i have arabic and anthor language ++ english as the languages the user can pick, when someone wants to order they ha
I created a service folder and made a file in it called request. dart, here I intend to place all requests I make into a class called AuthService, with the logi
In my project I've wrapped the whole MaterialApp in a GestureDetector which is supposed to dismiss keyboard when user tapped the screen, using this piece of cod
I had built an application and I'm trying to show feature discovery but, It is not showing discovery. Also not showing any error. Question I Referred To Solve I
I'm a big fan of VS Code and i'm just learning to code. But when using dart language, there is a line in the middle of my screen the-line!!!. I don't have this
Container( width: 200.0, height: 200.0, child: Container( width: 50.0, height: 50.0, decoration: BoxDecoration( shape: BoxShape.circle,
suddenly i cant fetch data inside of the firestore database. tried to change google-services.json and still did't fetch data from firestore. and i tried to disc
I added two ListWheelScrollView to show the value first for numbers(1-9) and second for string values like an hour, day, week, and month but focus item design d
I have following time series in charts_flutter: charts.Series<DatumPoint, DateTime>( id: 'Series', colorFn: (_, __) => charts.Material
what's the equivalent fileoutputstream of java in dart? Java code file = new FileOutputStream(logFile, true); byte[] input = "String".getBytes(); file.write(inp