Category "flutter"

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

I want to create a cart view

I want to create a cartview by allowing an item to be selected once I click on the Icon Button then the item is pushed to the cartview and it can show if the it

How to detect left and right swipes in flutter?

I am using GestureDetector to check when a user swipes horizontally across the screen. The swipe should only be registered when the user removes their finger f

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

parsing airtable json to flutter podo

I'm new in flutter and I have issue with parsing JSON on HTTP response. I'm using Airtable backend, to store information about posts. These always contain image

How to start specific screen when notification appear in flutter

I am using firebase_messaging for notification, everyting is work fine. I have a video calling screen I want to start this screen on notification when app in ba

Could not resolve all artifacts for configuration ':app:debugCompileClasspath'

After the flutter 1.17 update, I tried to run my app, but it shows this error. flutter doctor command works fine. I don't understand what is happening Launchin

Flutter Federated Plugin

I am trying to develop a federated plugin which will wrap a native SDK (for android and ios) as explained here, and also went over the examples shown here and t

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

How to set controller and focusnode in custom TextField - Flutter

I'm trying to create my custom TextField widget with a dropdown list. I want to give it arguments of controller and focusnode. I don't want them to be required,

Flutter: Is it possible to make a P2P connection with nfc_in_flutter package?

I would like to send a message from an Android device to an IOS device using NFC. I found multiple NFC packages and tried out example app from nfc_in_flutter bu

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

Flutter webview intercept and add headers to all requests

Using the webview_flutter package i could load my website and add session cookies to the initial URL. _controller.future.then((controller) { _webViewControll

In my flutter app when i open gps or camera or map , or any url , getting error "Lost connection to device." everytime

I am testing on a real device(Redmi 7A) when I open Camera ,URL,GPS, app always get error "Lost connection to device." but when i test on Samsung m31 or Samsung