Category "dart"

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

Unable to load asset image (Flutter)

I'm repeatedly having the following exception in terminal while trying to add an asset image in the appBar of my Flutter application (running on an Android emul

Flutter Dio HTTPS Certificate Validation Ignoring onBadCertificate - CA Cert Problem?

I've run into a bit of a quandary. I'm writing a client/server application. The frontend is in Flutter and uses the Dio http package, the backend is Java. The b

Send Email for SMTP wtih Mailer/Mailer2 in Dart

i have the next problem whe send a mail for smtp Dart VM version: 2.1.0-dev.6.0 (Thu Sep 27 09:51:34 2018 +0200) on "macos_x64" pubspec.yaml environment:

How to save Base64 String to file and view it using Flutter

I need to download and view file (if possible, for Image, PDF, etc) using Flutter. My problem is, the file that I want to download is Base64 String. How can I

Flutter error - Gradle task assembleDebug failed with exit code -1

I'm new to flutter. I just created a new project in flutter and have not even altered the code. And when I run the code I get the following error. Launching li

dart:ui:1: Error: Not found: dart:ui. flutter/dart:

When I start a debugging session (pressing F5) I receive the following messages: dart:ui:1: Error: Not found: dart:ui. Exited (sigterm) There is no indicatio

Flutter - Adding Container (widget) in GridView when click a button?

I wanted to add a container widget in the GridView when a button is clicked. I was able to do this with the column widget but could not do it with GridView. im