Category "flutter"

Parse long String of coords into lat & longs Flutter

I receive a String of Lats & Longs from an API call in Json "lineStrings": [ "[[[-0.301457,51.515017],[-0.288265,51.51014],[-0.280462,51.503057],[-0

Bloc Concurrency with restartable transformer does not cancel previous event

Description Bloc Concurrency with restartable transformer does not cancel previous event Steps To Reproduce The bloc file merchant_product_bloc.dart that listen

Flutter windows build: Nuget is not installed

I uninstalled Visual Studio 2019 and installed it as 2022. I reinstalled Flutter. When building Flutter desktop, the following problem is repeated. If I run it

How to Handle (Tel:,Mailto:,Wa:,Sms:) In Flutter Inappwebview?

I'm making a humanitarian flutter project using the inappwebview & url_launcher package, I've been looking for some references but all the code doesn't work

Flutter - Google maps only shows one marker

In Flutter, I created an array to add markers. final List<Marker> _markers = <Marker>[]; Then I iterate all values and add them to this array User

why flutter give me url null in url launcher?

ElevatedButton( onPressed: () async { const url ='https://www.facebook.com'; if (await canLaunch(url)) { await launch(url,forceWebView: true,en

How ListView scroll to bottom accurately?

It seems Controller.position.maxScrollExtent is a predicted value since the bottom items haven't been rendered,Controller.jumpTo(Controller.position.maxScrollEx

How to solve the error FAILURE: Build failed with an exception. * Where: Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1005

I'm trying to run the application in the android emulator but this error keeps popping. FAILURE: Build failed with an exception. * Where: Script 'C:\flutte

Flutter - type 'Future<dynamic>' is not a subtype of type 'List<Map<String, dynamic>>'

I am using mysql1: ^0.19.2 and trying to fetch some data from a database to display in a select_form_field (select_form_field: "^2.2.0"). The database table I'm

upgraded depricated uuid pacakge in Window

npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be pro

Expected a value of type 'Map<String, dynamic>', but got one of type 'Null'

I'm using flutter and managing data by cloud_firestore. I could send data to firestore, but now I'm Struggling with reading data. In firestore, data are stored

Error occur when I am building my app.(Execution failed for task ':app:checkDebugAarMetadata'.)

What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. Multiple task action failures occurred: A failure occurred while executing com.android

why can't create user using stream chat api in flutter?

I'm trying to create a chat screen in my flutter application using Stream chat API. the problem is when I try to create a channel with two users it shows that t

Closure call with mismatched arguments: function '_TaskTileState.checkboxCallback'

I'm getting this error in my code ======== Exception caught by widgets library ======================================================= The following NoSuchMetho

Error: Expected a value of type 'int', but got one of type 'String'

screenshoot Error: Expected a value of type 'int', but got one of type 'String' at Object.throw_ [as throw] (http://localhost:50026/dart_sdk.js:5405:11) at Obje

Flutter Navigator Observer get path of old and new route

I am trying to call an function, if the Router changes the first part of a Route. I do use a NavigatorObserver and know about the functions didPop/didPush. I ha

Flutter - App Store Connect rejection due to needing "functional link to the Terms of Use (EULA)" in "your app's binary"

Our flutter app, with a subscription membership in-app-purchase, is repeatedly being rejected by App Store Connect for the following reason : Specifically, we

FlutterError : The key [LabeledGlobalKey<FormState>] was used by multiple widgets

I'm getting an error while trying to navigate to the menu_screen widget. I'm pretty sure that the GlobalKey menuFormKey is not used inside another widget but I

NavigatorKey not found on MaterialApp.router

Previously using MaterialApp there was a way to set a GlobalContext using a NavigatorKey located on the MaterialApp widget. However now it's looks like that alt

Authentication Api using user name and password in flutter web

I try to authenticate api using user name and password it worked good in flutter android app but in flutter web do not get any data below my authentication func