6,977 questions
-2
votes
0
answers
38
views
Geolocator flutter package: Location retrieving doesn't work without internet or cellular data on adroid [closed]
Location retrieving doesn't work without internet or cellular data on adroid. when I get the location once or if I had the wifi and location turned on together then turned off wifi it works, but if ...
2
votes
2
answers
146
views
Flutter Google Sign-In [16] Account reauth failed on Android — need help troubleshooting
I’m trying to implement Google Sign-In in my Flutter app using google_sign_in: ^7.2.0 and Firebase Authentication, but I keep hitting the following error after selecting a Google account:
...
2
votes
0
answers
84
views
I recently upgraded from Riverpod 2.x to 3.0 and I'm getting a disposal error
Unhandled Exception: Cannot use the Ref of noteControllerProvider after it has been disposed. This typically happens if:
A provider rebuilt, but the previous "build" was still pending and ...
2
votes
0
answers
61
views
Random Barcode Detections on Timeout When No QR Code Is Present (mobile_scanner)
I’m getting random barcode values when the scanner view closes due to timeout even though no QR code or barcode in front of the camera.
Each time this happens, the detected values are different.
Code :...
0
votes
0
answers
155
views
Flutter 3.35 iOS build fails on Apple Silicon (M3/M4): 'Flutter/Flutter.h' file not found
I'm on a MacBook Air 2025 M4 (Apple Silicon) using Flutter 3.35.5 on channel stable, Xcode 26.0.1, and CocoaPods 1.16.2.
Actual Setup:
Component
Version
macOS
15.0 Sequoia
CPU
Apple M4 (ARM64)
Flutter
...
0
votes
0
answers
59
views
how do i disable toast messages that are hard coded in package?
I am using this package Flutter_pos_printer_platform_image_3 where it has predefined toast messages those are generally not a problem but right now what I am doing is periodically scanning and ...
0
votes
0
answers
128
views
Flutter 3.35 Android Release Build Crash – java.lang.NullPointerException: Attempt to invoke virtual method 'void Z2.j.D(...)' on a null object ref
I recently upgraded my Flutter SDK from 3.32.7 → 3.35.0.
Since then, my app works fine in debug mode, but crashes on launch in release mode with the following stacktrace:
FATAL EXCEPTION: main
E/...
0
votes
0
answers
31
views
How to dynamically load multiple TensorFlow Lite models in a Flutter app instead of bundling them?
I am building a Flutter app where I have to execute three separate TensorFlow Lite models on-device:
An embedding model
An action video detection model
A DistilGPT2 RAG model
Currently, I bundle all ...
0
votes
0
answers
57
views
Getting "current target" error for "Flutter Run" on Android Emulator
After I added assets_audio_player package I started to get this error :
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':assets_audio_player:compileDebugKotlin'.
...
2
votes
1
answer
126
views
Animated TextField Flutter - How can I create a textfield in Flutter where the hint text animates with suggestions smoothly?
In some apps (e.g., BlinkIt, Swiggy, etc.), the search field shows animated suggestions instead of a static placeholder.
For example, the hint text rotates/animates between:
“Search fruits”
“Search ...
0
votes
2
answers
73
views
Reading row from SQLite database with sqflite package in Flutter. Error: Unsupported operation: read-only
I am trying to fetch one User (row) from users table in SQLite in Flutter. I am using sqflite package for that. But, the fetchedUser Map is empty as a result of query and I am getting errors:
...
6
votes
3
answers
578
views
flutter_native_splash issue on android 12 and plus
I am using flutter_native_splash in my Flutter project.
The splash screen works perfectly on Android 11 and below, but on Real Android 12 devices and above, the logo does not appear on the first app ...
2
votes
0
answers
77
views
Flutter Google Sign In 7.1.1 : Hosted Domain not working properly
do you have same problem about this one.
so i has been updated my google sign in package to 7.1.1 in my project.
but i have problem the hostedDomain that already registered in initialize google sign ...
0
votes
0
answers
81
views
How to handle random NFC session errors (500 & 409) in Flutter iOS during continuous NFC tag reading?
I'm developing a Flutter app that continuously reads NFC tags for attendance using the flutter_nfc_kit package. The reading loop works fine on Android and mostly fine on iOS, but on iOS devices I ...
1
vote
1
answer
71
views
How to analyze Flutter iOS app size and see which plugins/assets take the most space?
I want to analyze my Flutter app size for iOS and find out:
Which pub.dev plugins are taking how much space.
How much space my assets contribute.
The size from my own Dart code (lib/) and native ios/ ...
1
vote
2
answers
83
views
Linear gradient not connecting at center in container with row of widgets
I’m trying to create a top bar using a Container with a horizontal LinearGradient background and a Row of widgets inside it.
However, even though I’m using Alignment.centerLeft to Alignment....
1
vote
3
answers
112
views
video player is not working for videos from assets
I am trying to play a 30 sec video , but it is not working as
expected.
_controller = VideoPlayerController.asset(
'assets/videos/disclaimer.mp4',);
All the errors we have been troubleshooting are for ...
0
votes
0
answers
50
views
Play and pause misbehaving while using flutter video_player package
I'm using the video_player package in Flutter to stream videos from a server with standard playback controls (play, pause, seekTo, etc.). When using the sample video URL provided in the package ...
0
votes
2
answers
294
views
Incompatible flutter packages version
when running flutter pub get command, this ios the ourput:
Resolving dependencies... (1.1s)
Downloading packages...
characters 1.4.0 (1.4.1 available)
leak_tracker 10.0.9 (11.0.1 available)
...
0
votes
1
answer
71
views
How to change the Flutter app name from old name to new one e.g( my app previous name was wallpaper_app now i want to change it to the PixelScape)
Listen carefully and pay attentions on my problem. The initial name of my app is wallpaper and i want to change it to the PixelScape. i have try all the possible methods to change the name but still ...
3
votes
2
answers
179
views
How to create a conic gradient border?
I'm working on a Flutter app and trying to replicate a Figma design for a container with an angular (conic) gradient border. Despite multiple attempts, I can't achieve the exact look specified in the ...
1
vote
0
answers
97
views
Title: Flutter build_runner "Nothing to build" but *.g.dart files are missing after pub get success
I'm developing a Flutter music app and using hive for local storage, which requires hive_generator and build_runner for code generation. I'm encountering a very persistent issue where build_runner ...
0
votes
0
answers
29
views
WebRTC Flutter: Getting blank screen for rejoin the user
I have implement the WebRTC in my flutter project and it's working completely but only issue is when user can rejoin the existing broadcasting so getting blank screen.
Here is the my code: enter link ...
1
vote
0
answers
242
views
"Could not find com.arthenica:ffmpeg-kit-https:6.0-2" after ffmpeg_kit_flutter deprecation
I am at latest flutter 3.32.4
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac'.
> Could not resolve all files ...
0
votes
0
answers
31
views
Flutter: Preloading all SVGs to make them available offline in circle_flags 5.0.0 that are being utilized by the phone_form_field package
I am using the phone_number_field package in a project, which is utilizing flag SVGs from the circle_flags package. Based on the documentation and example of circle_flags, it has a preload function ...