I'm trying to implement search functionality in the list view builder But I don't have an idea to implement it. this is model class class Contacts { String? i
I am facing very strange issue in flutter app! When test my app in debug mode its working fine while in release mode it shows the white screen. This app is alre
It seems if it's just a variable, I can conditionally cast like this. Animal animal = Dog(); if (animal is Dog) { animal.bark(); // animal is of type Dog her
Dart function I have the following Dart function and I am now using null safety: void calculate({int factor}) { // ... } The analyzer complains that: The pa
I was trying to compare two different app version in flutter, But I am not able to assign , App versions in a variable. var a = 1.0.0; var b = 1.0.1; But the v
I was just trying to create an app with button which shows an alert message when the button is pressed. But it gives me this error(Mentioned below). I wrote
I am new to flutter. I just started using GetX flutter package. I am working on a ToDo list app. I am having trouble updating the widget state. What I have done
I am facing the same issue with this Error: The argument type 'Null Function(DateTime, List<dynamic>)' can't be assigned to the pa
There is a map. I want to reverse it. is there any inbuilt function for that in dart? {203: 5, 201: 3, 204: 1} This the current Map i have. {204: 1,201: 3:2
I have a simple Flutter app and I want to remove all previous routes but I want to do with GetX, How to do that? Now it works with Navigator.of(context).pushNam
I would like to use dart SDK >= 2.2.0 with flutter. But my current version used BY Flutter is 2.1.2 flutter --version Flutter 1.2.1 • channel stable &b
I'm trying to create my own TextFieldForm to use in my app by specific design and I have some troubles in order to expand it if it's the case. Currently, it loo
I'm just wondering if it's possible to override the toString method in dart this is what I have: enum Style{italic, bold, underline} Style.italic.toString() //
I'm currently working with Flutter Web using flutter_modular for the routing which works properly when you navigate straight to a page throught the browser, but
I am trying to load data from my REST API and load them to the dropdown lists. Below is the code where my dropdown list and data loading from outside is impleme
I want to get my sended errors from data.errors. I use "https://github.com/zino-app/graphql-flutter/tree/master/packages/graphql" to get my response. My respons
I want to get my sended errors from data.errors. I use "https://github.com/zino-app/graphql-flutter/tree/master/packages/graphql" to get my response. My respons
SOLVED: I WAS GETTING ANOTHER STATE INSTEAD OF WHAT I EXPECTED I have two screens in my app. The first one contains products and each one of them is wrapped wit
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",