Category "dart"

How to select all checkboxes in dropdownbutton flutter when selecting one checkbox?

I have a drop down list with checkbox elements. Tell me, can I make it so that when selecting 1 element, in my case it is All EV's, all other checkboxes of the

Dart List doesnt get updated with forEach loop

I am using this package to retrieve device's contacts. The lib retrieve 427 contacts and I want to loop the whole list so that I can create another list and sen

Flutter: pub get failed (66)

When i try to implement scoped model, i get this error message: [flutter_course] flutter packages get Running "flutter packages get" in flutter_course... Crea

Flutter: List inheritance in classes

Hello guys I am new on flutter and building a new app... I have a problem that I cannot do it... I want to call elements of List from another class, I wrote so

Flutter/Dart on a IOS device?

How can I run my flutter program on a IOS device? I'm gonna use a iphone6s. I'm using a windows 10. I'm either using visual studio code or android studio. Last

Flutter: How to receive new Data and update Widget without rebuildung

I'm currently facing an annoying I think design problem made by myself and flutter :D In my widgets I work with FutureBuilder. When the Widget gets created, it

Flutter : Hot reload / Hot restart showing white screen with debug banner?

In my flutter app , when I try to hot reload or hot restart , after process complete , the reloaded screen shows for a second and then went whole white only the

How would I offset a 24hr time frame to start from the current time and end after 24 hrs

I currently have a slider that is ranged from 0 - 24 with 24 divisions (ie each division represents an hour.) I wrote a method below that converts the value

Execution failed for task ':app:signReleaseBundle'

I have this error at the moment to make flutter build appbundle this is the error: FAILURE: Build failed with an exception. * What went wrong: Execution failed

Flutter , Could not determine the dependencies of task ':app:processDebugResources'

i dont understand whats wrong, yesterday i could debug the app

In Flutter 3.0, the Qr Code Scanner is giving an error

I am updating an old project. This qr code scanner is giving an error.The project had previously run on flutter 2.10. There are errors in Flutter 3.0. import 'p

D8: Cannot fit requested classes in a single dex file

I am trying to add the below dependencies: firebase_auth: ^0.14.0+5 google_sign_in: ^4.0.7 cloud_firestore: ^0.12.9+5 fluttertoast: ^3.1.3 image_pick

flutter app suddenly can't fetch data from firestore, Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}

i've been searching for a lot of problem that relate with this but i still didn't find the solution the error say Accessing hidden method Ldalvik/system/CloseG

DartPad Not Supporting ON Clause

I'm learning Dart Language by working with dart code in DartPad. While using on clause in Exception it throws uncaught exception.

Flutter Facebook App Events gives the error: kotlin.UninitializedPropertyAccessException: lateinit property appEventsLogger has not been initialized

I am using the latest version of FaceBook App Events plugin in Flutter with the latest version of Flutter as well. On click event, I am calling the logEvent met

How to enforce a new property has a value set at compile time in dart?

I am new to dart/flutter and I am adding internationalization on my app. As flutter don't define a proper way to implement internationalization (according to th

Does flutter_background_geolocation fetch the location even when app is killed?

I’ve been using background_locator to fetch the location of the user in the background even when app is killed. To be honest, it’s the only package

getSelectedText on inactive InputConnection flutter

I have this weird problem,When i try to enter value to textfield the keyboard comes up when i try to type the the keyboard goes away , i am also doing fill up

google maps flutter check if a point inside a polygon

I'm working on flutter project using google-maps-flutter plugin, and I want to check if the user location is inside the polygon that I created on the map. There

display loading indicator while list is being populating from an api

am new to flutter ... and am calling an api in my app and i want to display a loading indicator while the api function is finished and every thing is retrieved