Category "dart"

Flutter[Android]: Not able to release App with Manage External Storage Permission

We need to allow users to store files in the external storage and for the same, we use MANAGE_EXTERNAL_STORAGE permission in our application. Ideally for the an

"Looking up a deactivated widget's ancestor is unsafe." with StatefullWidget

I can't find any answers for my problem. In the code below, everything was perfect if I use a "GestureDetector" with a "Image" instead the Dismissible with the

Uri parse does not parse

String baseUrl = "httpswwwmywebsiteit"; Uri primaUrl = Uri.parse(baseUrl); print(primaUrl); // returns httpswwwmywebsiteit Is this a valid uri? How can I

flutter on click download image from firebase

Here, when I add a new picture, it appears here and it can be opened to a full screen, but when I click I want to download the picture that I long pressed on to

Object changes in child class widget traverse back to parent class widget where it was initialized

I am working on cart item in Flutter application. Right now I am working on editing cart item. The structure of my code is such that each cart item is a Statefu

The named parameter 'child' isn't defined. - in container

I want to use "child" to create a row in a container, but unfortunatly I am getting this error: The named parameter 'child' isn't defined.:29 What I am doing w

Flutter list return Instance of

I get data from json but when try add data to list ant then print list get Instance of class User { final String name; User(this.name); } ................

Flutter doctor can't find Android SDK, but everything is set

I'm on Ubuntu 20.04 LTE My Android SDK Location (shown in Android studio) is /home/myuser/Android/Sdk The error goes as follows: ✗] Android toolchain - d

Flutter AutoRoute UI glitch with nested tab routes

This is my AutoRoute setup: @MaterialAutoRouter( replaceInRouteName: "Page,Route", routes: [ AutoRoute(path: "/login", initial: true, page: Login),

trying to get create a simple bar chart from charts_flutter

I have an issue with this simple bar charts_flutter code. Although I have no errors in my code, only the x-axis gets displayed onto the screen. I suspect it's b

Flutter webscrapping How to access a table elements

I am writing a web scrapping widget in my flutter app to extract the meanings of a Sanskrit word. I wish to know how to access the text yellow highlighted in th

FLUTTER ANDROID ONLY: sent location data to REST API continuously even when my app is minimized/closed

I want to continuously send location data to REST API (PATCH METHODS) even when my app is minimized/closed. I put my function on InitState, but when I minimized

How to use floating action button to scroll over another widget?

I want to use FloatingActionButton() to scroll through a widget below it in for example a Stack widget. Right now i just use Stack widget to stack the FloatingA

Converting base64 to image | Not working | Flutter

So, I want to do a simple thing but for some reasons it is not working. I get a base64 string from the server which I need to convert to an image. When I put th

Display events stored in MongoDB in SyncFusion Calendar via GraphQL

I am working on an app and I'd like to display the events that are stored in MongoDB using my GraphQL end points. This is how I do it: List appointments = Que

How to add markers in Google Maps in Flutter using the Geopoints data in Firebase Firestore

I am new to Flutter and Firebase. How can I add multiple markers in Google Maps in my Flutter Application from retrieving geopoints data in Firebase Firestore?

Flutter sign in with google lost authentication when the internet connection lost, how to re-auth it?

We are currently building an app that requires only google sign in and communicate with the Firebase depending on those data that we get with sign in. The probl

Parsing Nested JSON give Unhandled Exception

I am trying to parse complex Nested JSON, I have multiple classes to get down the JSON nests. I am looking for the numbers from this JSON { "data": { "att

How to customize the hard wrap vertical line in Android Studio IDE for code formatting

When I apply "Format code" my lines of code automatically down line (many lines) even though my screen has enough space to display it on 1 line. I see it depen

The function can't be unconditionally invoked because it can be 'null' error shown while trying to get current user info from firebase Auth

Trying to get current user info after creating a new user but getting this error " The function can't be unconditionally invoked because it can be 'null' " whi