200,320 questions
Score of -6
0 answers
71 views
Upload banyak gambar di Flutter menggunakan Dio ke Laravel gagal dengan error "The foto field must be an array" [closed]
Saya sedang membuat form di Flutter untuk mengupload maksimal 4 foto sekaligus menggunakan package dio dan image_picker ke backend API Laravel.
Ketika saya menyusun FormData menggunakan FormData....
Score of 0
1 answer
124 views
After upgrade to Gradle 9.9.1, getting "Supplied proguard configuration does not exist" error for Flutter app
Upgrading Gradle from 9.7.1 to 9.9.1 and trying to do a release build produced this error:
Execution failed for task ':app:minifyReleaseWithR8' (registered by plugin 'com.android.internal.application')...
Score of -4
1 answer
196 views
How do I fix "'package:flutter/material.dart' is deprecated… Use package:cupertino_ui/cupertino_ui.dart instead" after upgrading to Flutter 3.50? [closed]
After upgrading to Flutter 3.50.1 (Dart 3.14), almost every file in my app shows this analyzer warning:
'package:flutter/cupertino.dart' and 'package:flutter/material.dart' are deprecated and shouldn'...
Score of 0
1 answer
162 views
Flutter AAB works with Internal App Sharing but crashes when installed from Google Play Closed Testing
I have a Flutter app that works correctly in debug and release mode. The same AAB also works when installed through Google Play Internal App Sharing.
However, when I install the app from the Closed ...
Score of -5
0 answers
150 views
How would you keep separate Dart files for mobile, tablet, and desktop layouts? Or do I move to another package if move then which package I must use? [closed]
Using the Flutter responsive_framework: ^1.5.1 package, how would you create a responsive dashboard that displays the following?
Mobile: 2-column grid
Tablet: 3-column grid
Desktop: 4-column grid
...
Score of 0
0 answers
135 views
Flutter and Android SDK errors
I have the following error when building a flutter project for Android:
Your project is configured to compile against Android SDK 37, but the following plugin(s) require to be compiled against a ...
Score of -2
3 answers
192 views
How to apply a common redirect to a specific group of routes?
I am using the go_router package in Flutter and need to apply a shared redirect logic (e.g., an admin check) to a specific subset of routes. I'm considering several approaches:
I can use the global ...
Score of 3
1 answer
219 views
In a Widget build method, which context is the right one to refer to?
When working with Flutter, should you always prefer the closest BuildContext for doing activities like navigation, checking for mounted, getting parent objects using .of(), or is it more nuanced?
...
Score of 1
1 answer
124 views
How to remove expanded image in Android alerts
I am developing an app in flutter using flutter_local_notifications to send push notifications using Firebase platform.
When the message arrives, it shows an icon to the right of the message, but when ...
Score of 1
1 answer
145 views
flutter run hangs at "Waiting for VM Service port to be available" on Pixel 6a with Android 17 (no hot reload or debugger)
After my Pixel 6a was updated from Android 16 to Android 17, flutter run builds, installs and launches the app normally and the UI works, but the terminal hangs forever. Hot reload, DevTools and ...
Score of -4
0 answers
94 views
Flutter TextField loses keystrokes while typing when using Provider and setState
[Flutter] TextField Search Bar Keystroke Issue – Provider and TextEditingController
Hi Flutter developers,
I'm facing an issue with the search bar in my Flutter ERP application. I'm using Provider (...
Score of -5
0 answers
122 views
Flutter TextField randomly loses keystrokes while typing when using Provider and setState
I am developing a Flutter application using Provider for state management.
I have implemented a search TextField in my Purchase Order screen. The TextField uses a TextEditingController and a FocusNode....
Score of -2
1 answer
172 views
Title Flutter TextField text not appearing / typing lag when using TextEditingController with custom decoration and state management
Body
Environment:
Flutter Version: [e.g., Flutter 3.19.0 / 3.47.9]
Dart Version: [e.g., Dart 3.3.0]
Target Platforms: [e.g., Web, Windows Desktop, Android] (Multi-platform / responsive layout)
...
Score of -2
1 answer
134 views
Clicking on "Email" Textfied (not obscureText), keyboard did not appears, or appears and disappers in 1 second
This issue occurs on ANDROID EMULATOR and MOBILE (real), both with android 16.
In short words:
If field is OBSCURED = TRUE show keyboard, if NOT didn't SHOW!
Clicking on PASSWORD (field) that is ...
Score of 1
1 answer
133 views
Get rid of unwanted splash of color which is not splashColor in Flutter FilterChip widget
I have attached a full code demonstrating the problem where the Chip when pressed for selection shows, momentarily, a Cyan colored background which as for my experiments is not the splashColor. I have ...