Category "flutter"

How to update data and restart the timer on click?

I have data in the application and the exchange rate is updated by a timer every 5 seconds. How can I make it so that when a floatingButton is clicked, the data

How to refresh snapshot in flutter

I what to refresh home page so I create widget called RefreshWidget look like this import 'dart:io'; import 'package:flutter/cupertino.dart';

Flutter won't compile a release build of my app?

After working on this app I tried to build my app to iOS using the flutter run --release command. But whenever I do I get this error *Could not build the precom

I want to change my app name to S&S in flutter ios in info.plist but i am getting error

I want to use "&" in app name for ios. what's method . i want to change name in CFBundleName tag in info.plist file of flutter. i am getting error while com

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