6,982 questions
2
votes
0
answers
50
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 :...
-3
votes
0
answers
56
views
How to create iOS like left swipe back navigation in Android using Flutter? [closed]
How to implement left side swipe back navigation within Android similar like iOS with with go_router package in Flutter?
I need to implement in both Android and iOS same functionality and I am using ...
-2
votes
0
answers
86
views
Is support simultaneous multi-channel viewing for audience role Flutter? [closed]
I have try to simultaneous multi-channel viewing for audience role in my Flutter app. but not getting success. if one stream play so another stream will not start and getting the “AgoraRtcException(-...
0
votes
1
answer
69
views
Mouse scroll wheel feels laggy and not smooth in my Flutter website
I'm building a website using Flutter Web, but when I scroll using the mouse scroll wheel, it doesn’t feel smooth it’s kind of laggy or jumpy compared to websites built with React or standard HTML/CSS.
...
0
votes
0
answers
105
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
48
views
Flutter issue related to apk
Configure project :gradle
WARNING: Unsupported Kotlin plugin version.
The embedded-kotlin and kotlin-dsl plugins rely on features of Kotlin 1.8.10 that might work differently than in the requested ...
0
votes
0
answers
50
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 ...
-4
votes
0
answers
121
views
Image Circular Crop Edit in Flutter
I've been facing problem cropping image in Circular. I've tried many package for the expected output but couldn't find any.
image_cropper pkg:
Future<XFile?> cropImageCircular(String imagePath, ...
0
votes
0
answers
34
views
Flutter build fails due to Inconsistent JVM Target Compatibility (Kotlin vs Java) [duplicate]
I'm currently working on a Flutter project using:
Flutter SDK: v3.35.1
shared_preferences package: v2.5.3
Kotlin version: 2.2.0 (in the Android project)
When I try to run the command:
flutter build ...
0
votes
0
answers
92
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/...
2
votes
2
answers
113
views
How to implement Dynamic App Icon Change with flutter_app_icon_changer
Does anyone know the correct implementation of the flutter_app_icon_changer: ^0.1.1 library? and also what to place in the appIcons? What is the correct format of it? Does Anyone know the correct way ...
0
votes
0
answers
30
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 ...
1
vote
1
answer
173
views
Search Text Field Animation in Flutter
I want to achieve this animation and accurate shadows to the button : -
the Tricky part would be getting shadow of the circular button , I tried using both foreground , and decoration property of ...
0
votes
0
answers
55
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'.
...
4
votes
0
answers
183
views
One Signal OnTap of Notification gives a collapsing effect
Whenever I tap on the notification that I receive , there is a black flash or a collapsing effect , I have tested on real device and on release mode , the bug that I want to fix: -
This is my xml : -
...
2
votes
1
answer
120
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 ...
-1
votes
1
answer
113
views
Flutter dependencies seem to be outdated
I'm brand new to Flutter and I'm having trouble getting my application to run. This is what I get:
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [...
0
votes
2
answers
70
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:
...
2
votes
0
answers
111
views
How to Publish a Flutter Package Without Exposing Source Code
I'm developing a Flutter SDK that I want to distribute to integrators without exposing my source code. I've seen packages like zolozkit_for_flutter on pub.dev that don't show their source code (GitHub ...
6
votes
3
answers
473
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
1
answer
112
views
How to create a floating/overlay window in Flutter desktop app using window_manager package similar to Microsoft Clock app's Focus Sessions feature? [closed]
Questions:
I did try with window_manager either it is producing something that far from the result or something buggy .
How can I make the window borderless and floating?
Is it possible to create ...
2
votes
0
answers
76
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
1
answer
57
views
How to replace flutter_adaptive_cards in Flutter with a maintained library for rendering Adaptive Cards?
I have a Flutter project that previously used the flutter_adaptive_cards package to render Microsoft Adaptive Cards.
The old code looked something like this:
final AdaptiveCard adaptiveCard = ...
0
votes
0
answers
76
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 ...
0
votes
1
answer
92
views
iOS background location works in Debug but not in Release (Flutter)
I’m using Flutter with flutter_background_service and geolocator to get location updates in the background.
In debug mode, background location works fine even when the app is minimized or the screen ...
1
vote
1
answer
68
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/ ...
0
votes
1
answer
57
views
flutter_typeahead (flutter_typeahead: ^5.2.0) suggestions list wider than textfield?
I am trying to create a flutter_typeahead field with its suggestions field needs to be wider than the text field. I tried using constraints property but it doesn't increase the width but does limit ...
1
vote
2
answers
82
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....
0
votes
1
answer
81
views
How can a widget be displayed alone if it overlaps others?
I have three cards positioned 10 pixels from the bottom-left corner within a Stack as follows:
Positioned(
bottom: 10,
left: 10,
child: Card(
elevation: 0,
color: Colors.white,
child:...
1
vote
3
answers
107
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
33
views
How to interact with IOS share sheet through Flutter Patrol
Did anyone else have this issue? the patrol test is not clicking "Save to Files" in the share sheet, it's stuck even before getting to that step
await $('Open Certificate').tap(...
0
votes
0
answers
46
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
0
answers
42
views
In Flutter excel: 4.0.6 if i am deleting the default sheet1 then next sheets rows not coming properly
In Flutter excel: 4.0.6 if i am deleting the default sheet1 then next sheets rows not coming properly.
I am creating a excel in which i am creating a yearly sheet and months sheet (multiple sheets) of ...
0
votes
2
answers
257
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
0
answers
54
views
Video latency issue in above Android version 11
I have configured the video resolution to 2K, and it’s working as expected with LiveKit. However, the video playback is not smooth — it’s stuttering and getting stuck, especially on devices running ...
0
votes
1
answer
66
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 ...
0
votes
0
answers
35
views
Using FlutterBlePeripheral in foreground service on Android
I am new to Flutter and BLE on Android. What I am trying to achieve is to both scan and advertise form a service. While it works from the main isolate, even await FlutterBlePeripheral().hasPermission()...
3
votes
2
answers
173
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 ...
0
votes
0
answers
28
views
How to prevent video recording from stopping when sliding down the nontification bar? (Package: CameraAwesome 2.5.0)
I'm building a video recording app in Flutter using the CameraAwesome plugin. However, whenever I slide down the notification shade or go to another app, it auto-stops the recording. When I try to ...
1
vote
0
answers
88
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
1
answer
24
views
The name 'AppUsageException' isn't a type and can't be used in an on-catch clause
my code ->
import 'package:app_usage/app_usage.dart';
class ScreenTimeService {
Future<List<AppUsageInfo>> getUsageStats() async {
try {
DateTime endDate = DateTime.now(...
0
votes
0
answers
28
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 ...
0
votes
0
answers
61
views
Running code in Flutter app background/killed Android/IOS
I want to run dart code in background as well as when app is killed. I am making app related to when user is outside of radius (double value), I will call API using Dio. I had tried some packages to ...
1
vote
0
answers
236
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
1
answer
125
views
Audio Waveforms are not taking the entire width in the widget
So, i will be providing the code for the entire file below, i just need some advice as to why the waveforms are not contained inside the widget, they are going outside the box which is not what i ...
0
votes
0
answers
30
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 ...
0
votes
0
answers
33
views
syncfusion_flutter_xlsio: Getter 'g'/'b' isn't defined for class 'Color' in data_bar_impl.dart
I'm encountering an error when trying to use the syncfusion_flutter_xlsio: ^29.2.4 package in my Flutter app.
Here’s the error:
/AppData/Local/Pub/Cache/hosted/pub.dev/syncfusion_flutter_xlsio-28.2.11/...
0
votes
0
answers
76
views
Issue with Google ML Kit Face Detection: Detecting Invisible Landmarks When Partial Face is Visible
I'm currently using google_mlkit_face_detection in my Flutter project for face detection. However, I've run into an issue:
When only a small part of my face is visible to the camera — for example, ...
0
votes
1
answer
91
views
How to create a common class in Flutter for managing GET and POST requests using the http package?
I'm working on a Flutter project where I make multiple API calls using the http package. Right now, I'm writing separate get and post methods in different files, which is causing code duplication and ...
1
vote
0
answers
561
views
Flutter Issues of Android Gradle Plugin version and A problem occurred configuring project ':auto_orientation'
Warning: Flutter support for your project's Android Gradle Plugin version (Android Gradle Plugin version 8.1.0) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of ...