Category "flutter"

Flutter - Change Stepper - Step Color

Is there a way to change the color of the Steps without creating a custom Stepper? the current step is blue. https://docs.flutter.io/flutter/material/Stepper-c

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

Flutter - save file to download folder - downloads_path_provider

I'm developing a mobile app using flutter. For that I used downloads-path-provider to get the download directory of the mobile phone. The emulator returns /stor

How can I run release build of my Flutter app on Simulator

I need to take screenshots of my Flutter application across various devices. Since I do not have a variety of physical devices, I need to use the Simulator. H

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

How to load theme at beginning in Flutter

I want to users can change and save the theme color in my app. However, I have no ideas how to load the saved theme color when the app starts running. For examp

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