Category "flutter"

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

Remove default padding or margin on Bottom Navigation Bar from Flutter

This is the picture of the problem, is it a default padding on Bottom Navigation Bar? If it is, how can I remove it? As you can see in the code below, I have a

How to resolve error of "errSecInternalComponent" while building archive for appstore?

I am trying to submit flutter app to Appstore. Here are the steps I followed: Deleted all certificates and provisioning profiles Create/Add IOS Distribution Cer

Can we implement custom checkout screen in Razorpay in Flutter

I have been think to create a custom checkout screen using razorpay but could find any documentation/resources about how can I do it.

Flutter-Android how to use the camera while the app is in foreground/background

is it possible to use the camera while the app is in the foreground or background? I tried with these two packages flutter_foreground_task and flutter_backgroun