201,061 questions
0
votes
0
answers
8
views
What is the correct way to perform relative navigation in GoRouter?
I’m trying to use relative routing in GoRouter, but I’m running into a confusing issue.
Here is my code:
final GoRouter routerConfig = GoRouter(
initialLocation: '/',
routes: [
GoRoute(path: '...
1
vote
1
answer
24
views
SearchAnchor.openView() : change (inherited) width of SearchBar?
On my flutter_map I have an IconButton which it should cause a SearchBar to appear only when clicked. When search is done, the SearchBar can go into hiding again and only said icon be visible.
I have ...
-4
votes
0
answers
24
views
Does go_router actually call toJson() on extra parameters in mobile apps, or just check for its existence? [closed]
I'm using go_router in a Flutter mobile app (iOS/Android, not web) and getting this warning:
An extra with complex data type LocationProductSelectParams is provided without a codec.
The Mystery
...
-1
votes
0
answers
55
views
Push Notification on Flutter Mobile Apps [closed]
I am developing 2 mobile applications (main & admin) using Flutter for my client and this is my very first time developing a mobile apps. I need help with push notification on both apps because I ...
1
vote
1
answer
53
views
Flutter Google Maps: setMapStyle deprecated, how to style the map in newer versions?
I'm using the latest version of google_maps_flutter, and I noticed that this code is now showing a deprecation warning:
if (_mapStyle != null) {
mapController.setMapStyle(_mapStyle);
}
I used this ...
0
votes
0
answers
32
views
IOS setup in flutter firebase [closed]
Launching lib/main.dart on iPhone 15 in debug mode...
Xcode build done. 26.1s
Failed to build iOS app
Swift Compiler Error (Xcode): Expressions are not ...
1
vote
0
answers
33
views
Vs Code doesn't Recognize Flutter projet
I have been working on my project in vs code, when I feel tired I closed Vscode window and shut down my computer. Then when I come back to continue with the project, unfortunately VS Code does no ...
0
votes
0
answers
31
views
How to automate app deployment to App Store and updates using GitHub Actions and Shorebird in Flutter? [closed]
I’m working on a Flutter project and I want to fully automate the process of building and deploying my app. Specifically:
Use GitHub Actions to build Flutter apps for iOS and Android.
Automate ...
Tooling
0
votes
0
replies
29
views
Flutter Hyphenation
I am trying to hyphenate user-generated content in my Flutter App. I only need to support german. I want to insert "-". Also, if the word fits in the line, it should never be wrapped, but ...
Advice
0
votes
2
replies
44
views
Location and Camera permission is not working in my app for ios device
In my office management app we mark attendance through clicking a selfie and we also capture the current latitude and longitude. For android this activity is working is fine but in my ios the ...
-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 ...
0
votes
1
answer
49
views
Firebase App Check debug token not showing on iOS (shows fine on Android)
I'm developing an app for both Android and iOS, thanks to Dart & Flutter. It looks fine for me on Android, but not on Apple.
I'm using Firebase App Check to secure the resources of Google.
In ...
0
votes
0
answers
41
views
Getting errors running flutter clean even though no process is locking these folders
Everytime I run flutter clean I get this error :
C:\Users\salil\OneDrive\Documents\MEGA\Practicals\Flutter\myfirstflutter>flutter clean
Failed to remove C:\Users\salil\OneDrive\Documents\MEGA\...
0
votes
1
answer
52
views
scheduled notification with flutter [closed]
I’m building a warranty-tracking app, but I’m facing a problem with scheduled notifications. When I schedule a notification and stay in the app, it works and I receive it after the set time. However, ...
1
vote
2
answers
75
views
showDialog function in flutter not doing anything
I'm making a simple 'To Do List' app In Flutter, When I press the 'floatingActionButton' it's supposed to to show a pop-up where the user can input a new task, But nothing is displayed when the button ...
1
vote
0
answers
64
views
Is it normal for Flutter's main() function to execute as soon as a firebase notification is received in system notifications bar?
is it normal for Flutter's main() function to execute as soon as a firebase notification is received in system notifications bar?
I am testing on Android 15 in a Pixel device.
Here's what I did:
I ...
-2
votes
1
answer
44
views
Flutter Golden Screenshot Widget Integration Testing Shadow Mode [closed]
Why is it that my text fails to load in Flutter Widget Integration Testing in Shadow Mode.
I use Golden package to take screenshots, and no matter how long I pump and wait for environment to load, I ...
0
votes
0
answers
28
views
Amplify Flutter + Cognito Identity Pool works via AWS CLI but fails in app (“No identity pool registered for this account”)
I’m integrating AWS IoT Core with a Flutter app that already uses Amplify Auth (Cognito User Pool).
To allow IoT connections, I added a Cognito Identity Pool section to my amplifyconfiguration.dart (...
0
votes
0
answers
32
views
Google Maps Flutter camera center appears in top-left corner depending on Scaffold layout (extendBody / AppBar / bottomNavigationBar)
I'm building a custom map page in Flutter using `google_maps_flutter` (and a wrapper widget from `google_maps_drawing_tools`). I'm fighting a layout issue where the **camera target is not visually ...
0
votes
0
answers
63
views
How to make a custom notification full-width?
I'm trying to create a full-width custom notification for my Flutter app on Android.
The problem is that the notification always appears centered with large horizontal margins, even though my layout ...
-4
votes
1
answer
77
views
My Flutter project runs fine in Android Studio, but VS Code and other platform shows configuration errors [closed]
I made a flutter project using Android Studio but then due to some reason I had to shift on other platform Vs Code, when I tried running the build on Vs Code it started giving configuration error
(...
1
vote
0
answers
42
views
iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug) [closed]
How can I make BGProcessingTask run consistently on TestFlight for a file-processing + background-upload workflow?
Specifically:
Is there a known issue or limitation with BGProcessingTask + ...
-1
votes
0
answers
39
views
Command PhaseScriptExecution failed with a nonzero exit code build failed and working in simulator [closed]
Xcode 26.1
Flutter 3.38.1
I have tried this:
flutter clean
rm -rf ios/Pods
rm -rf ios/Podfile.lock
rm -rf ios/Flut
0
votes
1
answer
109
views
Flutter Android 16KB Page Size Support Issue - Google Play Console Hard Rejection
I'm hitting a critical roadblock when trying to publish my application via the Google Play Console: My App Bundle is completely rejected with the persistent message:
Your app does not support 16KB ...
Best practices
1
vote
2
replies
58
views
Flutter Custom UI Layout - Struggling to Replicate Complex Design from Image
enter image description here
Hi everyone, I'm trying to implement a complex UI layout in Flutter based on a design image, but after several attempts I haven't achieved the desired result. I'd ...