Category "flutter"

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

How to create glass widget in flutter app?

I need to make glass card view widget in the flutter (like image). Its mode without using the package. But if there is no solution, if there is a package for it

How to test code that uses DateTime.now in Flutter?

I have this class: import 'package:flutter/material.dart'; class AgeText extends StatelessWidget { final String dateOfBirth; const AgeText({Key key, @req

Flutter Mapbox clickable cluster annotations

I am trying to use Flutter mapbox_gl package to display clustered data, support for this functionnality has been added recently as showed in this example. When

No active package flutterfire_cli

I have a Linux machine where I installed Flutter via Snap. I want to set up Crashlytics on my project. One of the steps is to install flutterfire_cli as stated

Need Assistance with Security assessment on Flutter compiled binaries

I'm developing an android app using flutter but during vulnerability assessment client have raised security concerns on flutter compiled arm-based binaries. NX

How to get build and version number of Flutter app

I am currently developing an application which is currently in beta mode. Due to this, I would like to show them what version they are on. For example, "v1.0b10

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

Flutter: upgrade the version code for play store

I have published an application on the play store with flutter, now I want to upload a new version of the application. I am trying to change the version code wi

Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null

when i made flutter upgrade then run my app this error occurs. ../../../development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_sizer-3.0.6+1/li

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

How to integrate 2checkout with flutter

How to integrate 2checkout with flutter? is there any way to integrate 2checkout payment gateway with flutter app? can anyone please help me?

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

how can I save the state of the 'liked' post by the user?

I have two collections in firestore, 'users' and 'posts'. HomePage is where all the posts are displayed in a listview and every post has a 'like' button. I'm sa