Category "flutter"

Flutter audioplayers error (1, -19) - No audio is played and the app doesn't crash

I am trying to use the flutter audioplayers package to play audio files and am getting this error. While following an online flutter tutorial I had this exact c

Flutter Google Maps: How can you change maptype after runtime?

I am trying to change from normal to satellite when pressing a button as shown below, but i get an error that setMapType does not exist. mapController.setMapTyp

(Flutter) HTTPClient Invalid argument(s): No host specified in URI

Currently working on a little app that allows users to view a database stored on Heroku, however I am running into the aforementioned issue when using the datab

How to fix Command PhaseScriptExecution failed with a nonzero exit code on flutter run in macOS?

I am working on a flutter app. I recently shifted to macOS and since then haven't been able to run the app. Other apps are running fine so I think the error is

The argument type 'Future<UserCredential>' can't be assigned to the parameter type 'dynamic Function()'

I am learning about TDD and practicing my test writing. I want to write a test for my login through Firebase. here is the test file: import 'package:firebase/fi

how do i resolve, "Lexical or Preprocessor Issue (Xcode): Flutter/Flutter.h' file not found"?

In file included from /Users/shaifdihan/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.1/ios/Classes/JavaScriptChanne

fix net::err_unknown_url_scheme whatsapp link on flutter webview #101145

am using the flutter webview plugin. the problem is that there is a WhatsApp pop-up from the webpage and if I click on the WhatsApp icon from the webpage it dis

How to remove or change flutter_native_splash?

I use flutter_native_splash: ^2.1.2+1. I wanted to set white background color, but I set a different color. I called flutter pub run flutter_native_splash:creat

You may need to restart any open editors for them to read new settings

Unable to locate a development device; please run 'flutter doctor' for information about installing additional components. In android studio, while running my

I am making POST request from flutter app to Django-Rest user and getting null response

I'm a novice at this. I have been making POST requests from my flutter app to Django-Rest user and getting a null response on vendor name as copy pasted below.

How to point to localhost:8000 with the Dart http package in Flutter?

I'm following the Flutter Networking/HTTP tutorial to do a GET request to a server running on my localhost:8000. Visiting my localhost via my browser works fine

Flutter SliverToBoxAdapter which fits child size

I want to create a scrollable content which include: A header widget that includes several child widgets - which it's height is unknown A list of rows widgets

Flutter: Live TV channel steaming problem

I want streaming a Live TV channel. That's why I used flutter_vlc_player 3.0.3. When I click the button to starting live TV channel, sometimes it takes a long t

Add custom ToolbarOptions for selected text in Flutter

By default ToolbarOptions contains copy, cut, paste, selectAll options. Can we add a custom action? For example, an action which will keep the selected text and

Running all flutter unit tests from Android Studio

I used to be able to run all my Flutter unit tests from the Android Studio GUI by right clicking on the tests directory and clicking on "Run 'tests in my_app'".

Image to pdf convertion in flutter

I am currently working on a photo scanner app in flutter and searching for a way to convert images to pdf. It would be great if anyone helps me

Flutter how to cast the model object to another model to save it to HIVE

I have an API response and parsed it using ProductsModel and I am trying to save it to my local storage using Hive and I have different model called LocalProduc

Flutter: Dismissable with Card and Margin

I'm building a simple listView in Flutter where the "cells" are simple Cards with a set margin. When dismissing these cards, the "margin" covers the dismissible

Flutter Location packages does not return current location on iOS

I'm stuck with this problem, If I try to call: Location location = Location(); LocationData data = await location.getLocation(); The future does never return a

How do i get past purchases in In App Purchase flutter?

I've developed application with in app purchase functionality. And for that i used in_app_purchase package. In previous version i'm getting past purchases. but