Category "flutter"

How to upload Multiple Images to rest API in Flutter?

I am trying to upload upload multiple images to Rest API in flutter. the code i have written is given below: final List<File> _image = []; Future<F

Crash of the flutter project on the Google Pixel 6 Pro, OS Level 31

We released our app and the next day we got a lot of crash reports on the Google Pixel 6 Pro with different use cases. On all other android devices, with exactl

Flutter: go_router connect to flow_builder

go_router can't use declarative flow of steps. Like steps of registration, where you can fill the form and call goNext() But flow_builder can. It allows you to

Cannot run flutter application on newly set up environment

I've got a flutter app that has last been working on about two years ago and I wanted to pick it up from there and do some further changes. I installed flutter

Riverpod StateNotifierProvider depend on a FutureProvider

I have a StateNotifierProvider that depends on a FutureProvider. Currently they look like below. final catalogProvider = StateNotifierProvider<CatalogNotifie

Flutter webrtc video calling issue:Not stopping "I/org.webrtc.Logging(32282): EglRenderer: Duration.." after hangup the call

I tried to find the solution. But I failed. Please help me if anybody know the solution.

stop watch timer on flutter. How can I print the time in the terminal while pressing a button?

What I would like to do is printing the current time on the terminal while pressing the reset button. ElevatedButton( onPressed: () {

pull to refresh freezes the WebView scrolling in flutter

After implementing the pull to refresh button on webview I'm facing the screen scrolling issue on webview. When I try to scroll the screen upwards or downwards

Cannot convert http.post from php to dart

I tried to convert this code from php <?php function sendjson($url, $array_params) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url);

ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: [core/duplicate-app] A Firebase App named "[DEFAULT]" already exists

Since im new in firebase, im having trouble with duplicated name already exists, and i need your help. E/flutter (21802): [ERROR:flutter/lib/ui/ui_dart_state.cc

Flutter better_player android Duplicate class found in modules jetified-exoplayer-core-2.17.0-runtime.jar and jetified-exoplayer-ui-2.15.1-runtime.jar

When running Flutter build apk with version 0.0.81 the following error is thrown 1 exception was raised by workers: java.lang.RuntimeException: Duplicate class

Read a provider inside a FutureProvider

When we need to read (not watch) a provider inside another one the documentation is clear: "DON'T CALL READ INSIDE THE BODY OF A PROVIDER" final myProvider = Pr

Flutter, Flow inside Align does not respond to the alignment rules

I am trying to use the Flow widget of Flutter, aligned to the top-right of the screen, and translating towards left. I tried using Stack + Positioned, I tried u

Json file links working in local, but not in production

I've a JSON file in assets and my radio app works fine in local, streaming from the links given, however in prod, the names of the list show but whenever I clic

zsh: permission denied: /Users/macbookpro/.zshrc

I'm new in flutter I want to set flutter sdk path in Mac OS (VS code) for this I'm fallow the https://flutter.dev/docs/get-started/install/macos#update-your-pat

How to reduce network speed in Flutter?

I am writing a networking app, In there I just want to control the speed of the network (Increase and Decrease). Are there any solutions to achieve this?

why google_ml_kit flutter library [Google ML kit vision] took large size while taking flutter ios / android build?

I'm just using it for text detection only. below code added in manifest file ,but no changes in the build right now ,still it takes too much size. How to solv

Mock JS object in tests on browser platform

I have this simplified dart file using dart:js: (dataLayer is used for Google tags, if that's any help) @JS() import 'package:js/js.dart'; @JS('dataLayer.push'

How can I add new items to a selection text menu?

How can I add new items to the selection text popup menu (such as Copy/Paste/Cut/item2) in a Flutter custom text selection menu

Flutter hide title of Silver app bar when expanded

I have implemented a silver app bar with background image on my flutter app. i want to make title of the silver app bar to hide when silver app bar on expanded