Category "flutter"

flutter daemon terminated when I try to launch my app

Just upgraded to v1.1.8 for flutter. Restarted Android studio. Using an emulator. Drop down menu for devices has disappeared and the AVD manager has been greyed

Flutter Infinite scroll pagination not refreshing after an item list is removed

After removing an item from a pagination, I'm getting an Ranger error (index) I want to update my paginated list as soon as an item is removed or even added, th

Cannot run the Flutter project with Firebase in MacBook M1

I am trying to build a Flutter project using Firebase on my MacBook Pro M1. Everything was fine until I added the Firebase Core dependency. Now I can't run the

Exception Caught by widgets library

I am getting an exception when fetching data from API and listing it using ListView When I am giving itemCount less than the total fetched data then its working

how to fix Zip Path Traversal Vulnerability In Android

I have an app that has startapp(0.5.1) ads, but after reviewing, I got the following error: Your app has an unsafe decompression pattern that could lead to a "s

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

How to test private functions/methods in Flutter?

I'm currently developing an app that uses the bloc architecture. My bloc is using streams exclusively to communicate with the UI. Therefore all its methods exce

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 : Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null

I run my flutter app on (Flutter 3.0 and dart sdk 2.17.0. But now I found a warning here, like this - /usr/local/Caskroom/flutter/2.0.2/flutter/.pub-cache/hoste

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

is it possible to embed an ionic application within a flutter application?

To be more precise, I already have a huge app writen in Ionic and now we're considering to migrate it to flutter, but we can't rewrite it from scratch, both ion

I want to Save Contact Number at Mobile storage using Flutter

I wrote this function to save contact number, but it can't save on local storage Future _saveContact() async { Contact contact = Contact(); contact.fami

Why does my flutter app keep crashing when loading pdf from the internet?

I am building an app in flutter that reads pdf files from the internet. The package I'm using is "advance_pdf_viewer." I have followed everything as instructed

Hot reload was rejected: Const class cannot become non-const

I want to remove debug banner and top bar with battery level and wifi icons. but it displays an error. where should I correct my code? here I have included my

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