Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
622 views

How to resolve "Synthetic package output (package:flutter_gen) is deprecated" warning in Flutter 3.29.0?

After upgrading Flutter to version 3.29.0 and Dart to version 3.7.0, I started seeing the following warning in the console when running my app on both Android and iOS: Synthetic package output (...
saeed z's user avatar
  • 685
2 votes
1 answer
121 views

How to use Immediate updates android in flutter

I'm newbie with flutter anyone can help me, how to use Immediate updates with flutter ? I have google play console, I want user must has new version to use the application, I know there is ...
Dreamer's user avatar
  • 25
0 votes
0 answers
24 views

My team mate gives me Github repostorey Zip file i have run into my Android Studio but i got error and again about kotlin and java compatability

FAILURE: Build failed with an exception. What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm ...
Muhammad Sharjeel Awan's user avatar
1 vote
2 answers
54 views

Listview does not scroll to the end but only to a certain point and i don't know why. flutter

I creating chatbot app, and i have a problem with listview when i send message listview scroll only to certain point but should to the end. import 'package:ai_language_learning_app/features/chat/...
Mateusz Grześków's user avatar
0 votes
2 answers
47 views

CocoaPods Error: "CocoaPods could not find compatible versions for pod "Sentry/HybridSDK"

I'm working on a Flutter project that uses the sentry_flutter package. When I try to run pod install inside the ios directory, I get the following error: Analyzing dependencies [!] CocoaPods could not ...
Alex's user avatar
  • 60
2 votes
2 answers
66 views

How to expand panel with fab button to show more options?

My current code: import 'package:flutter/material.dart'; class CustomBottomNavBar extends StatefulWidget { final VoidCallback onStartPressed; final VoidCallback onSettingsPressed; final ...
user1209216's user avatar
  • 7,974
1 vote
1 answer
31 views

Gray screen in release version on pageView

I have a problem that the release version shows a gray screen instead of the desired content, although everything works in debug, what could be the reason for this and how to solve the problem? I have ...
Влад Гурковский's user avatar
0 votes
0 answers
39 views

Flutter tutorial_coach_mark not working optimally for ios

Here is the image I am trying to implement the tutorial_coach_mark dependency in my flutter app. it works well for android but on ios it does not show the first widget completely. It always only shows ...
Alexander Osuya Sty's user avatar
0 votes
0 answers
27 views

Flutter Audio Playback Issue on Physical Device - How do I fix it?

My App is made in Flutter/Dart. I am Using Just_Audio Package from Pub.dev The app works fine on web test, but in Phone/Physical Device test it is not playing sound, its a **launchpad **app which play ...
appdev's user avatar
  • 13
0 votes
1 answer
32 views

AppLifecycleListener vs WidgetsBindingObserver

Flutter provides two distinct solutions for observing app lifecycle changes: AppLifecycleListener and WidgetsBindingObserver. AppLifecycleListener and WidgetsBindingObserver. Given these two options, ...
Wahab Khan Jadon's user avatar
1 vote
0 answers
53 views

How to solve Execution failed for task ':notification_permissions:compileDebugJavaWithJavac' [closed]

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':notification_permissions:compileDebugJavaWithJavac'. Compilation failed; see the compiler error output for ...
Darshan Kakadiya's user avatar
1 vote
2 answers
77 views

Google Apps Script 403: The caller does not have permission

Task I'm creating a Apps Script that adds new Feedback row to the containing Google Sheet whenever the API is invoked. Setup. I have a Google Sheet named Feedback Created the Apps Script (Code.gs - ...
the cosmic introvert dude's user avatar
2 votes
1 answer
38 views

Is there a straightforward, standard way to intercept pops, WHILE the widget tree is still available?

Right now I have return PopScope( canPop: false, onPopInvokedWithResult: (bool didPop, Object? result) async { if (result == null){ final navigator = Navigator.of(context); await ...
poppy's user avatar
  • 297
0 votes
0 answers
21 views

Correct use of MobX stores without using FutureBuilder in Flutter

For the ideal separation of view and logic how does one initialize a mobx store that makes an asynchronous API call, for a page/widget without the use of FutureBuilder? e.g. I log in and navigate to ...
farfly's user avatar
  • 126
1 vote
0 answers
30 views

Supabase query return string instead of list

I want to get the parameters interest.name, interest.description, interest.category.name as String with the value that is currently returning a list. They are translations and I select the value ...
Joaquín Varela's user avatar
4 votes
0 answers
54 views

How do I resolve "Your project requires a newer version of the Kotlin Gradle plugin" error in my Flutter project?

I'm working on a Flutter project and while attempting to build a release APK (or running a Gradle assembleRelease task), I encounter the following error: FAILURE: Build failed with an exception. ...
Hammad Khan's user avatar
0 votes
0 answers
36 views

Not showing navigation bar in app even after implementing libraries and creating NavBar file

This is HomeScreen.dart file where navigation bar is implemented to show. It was working before taking tdee data from another screen in home screen but now when tdee (total daily energy expenditure) ...
Rinchen's user avatar
0 votes
0 answers
38 views

Flutter email sender, can not compile

I can't compile and use the flutter_mail_sender package, the error is: * What went wrong: Execution failed for task ':flutter_email_sender:parseReleaseLocalResources'. > Could not ...
Riccardo Pasquetto's user avatar
0 votes
0 answers
61 views

How to convert this complex Future returning function to a Stream?

To be clear I don't simply want to convert the Future to a Stream object, I want to change the internal behavior of the function to support streaming the LLM response rather than returning the final ...
Ahmed's user avatar
  • 115
0 votes
0 answers
39 views

TextField is automatically selected when start typing, causing the next letter to overwrite the existing text

I am experiencing an issue with TextField in Flutter 3.27.1 while running a desktop application on macOS 15.3.1. When I start typing in a TextField, the entire text gets selected automatically, ...
Muhammad Siraj's user avatar
0 votes
1 answer
46 views

In Dart, can I implement `operator *` as in `2 * MyClass()`?

In Dart, I can implement operator * that is called when someone writes MyClass() * 2: class MyClass { String operator * (int rhs){ return 'MyClass * int'; } } Is it possible to write a ...
user200783's user avatar
  • 14.3k
0 votes
1 answer
37 views

Flutter launcher wont run

i just started this week again with dart/flutter and wanted to change my launcher icons, i tried allot of tutorials but i keep getting the following error`s. This is my pubspec.yaml dependencies: ...
zerox's user avatar
  • 5
0 votes
0 answers
26 views

Flutter Generics in Navigation: Function Parameters Treated as dynamic at Runtime

I'm implementing a centralized navigation manager (KNavigator) to handle typed navigation with generics. However, when passing functions that accept a generic type (e.g., displayItem: (T) => String)...
Tareq Ghassan's user avatar
0 votes
0 answers
37 views

Request solve Firebase FCM Notification Send Tool written in Flutter/Dart

are you smarter than AI? We'll apparently I'm not and I'm getting an error when I hit the SEND button. The error is flutter: Exception sending message: UnimplementedError. This program made in Flutter ...
JeeJee Studio's user avatar
0 votes
1 answer
34 views

Flutter Firebase Notification Issue: Article Opens Again After Restarting the App

I’m encountering an issue with Firebase Cloud Messaging (FCM) notifications in my Flutter app. Specifically, when opening an article from a notification, closing the app, and then reopening it ...
antocirino's user avatar
1 vote
0 answers
30 views

Internal error when calling firebase auth's verifyPhoneNumber on IOS device

In a Flutter app, when calling Firebase auth's sms authentication FirebaseAuth.instance.verifyPhoneNumber on IOS device (sim and physical), it causes internal_error with message "An internal ...
Danp's user avatar
  • 11
0 votes
1 answer
37 views

PopupMenuButton. Looking up a deactivated widget's ancestor is unsafe

I have a PopupMenuButton: PopupMenuButton<TemplateMenuItem>( iconColor: blueButtonColor, // initialValue: ExerciseWorkoutMenuItem.note, ...
Dima's user avatar
  • 1,259
0 votes
0 answers
36 views

Using Flutter WebView press the back button it won't send me to the previous or home web page and it exits the app

I am very new to Flutter!. I am using following Flutter code for WebView application. Everything works fine, but the following things are not working When I press the back button it won't send me to ...
Balaji Rethinam's user avatar
0 votes
0 answers
22 views

Error Generating APK for Positivo Terminal Integration

I'm encountering an error while trying to generate the APK for integration with Stone. The app requires Positivo credentials to be installed on credit card terminals. However, when I attempt to ...
Matheus Azevedo Rosa's user avatar
-1 votes
1 answer
198 views

Flutter 3.29 : I get an error while building my project

What went wrong: Execution failed for task :gradle:jar. Entry FlutterPlugin class is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/8.10.2/dsl/org....
YOUR GAMEPLAY PS's user avatar
2 votes
1 answer
70 views

Using navigation bar in unlinked pages

I would like to use/show the bottomnavbar in a page which is not listed in pages list. Screens in pages list works fine. I don't need it for route, but only to show it. Here is my main page. Example: ...
melearning's user avatar
0 votes
1 answer
54 views

change app icon by 'flutter_launcher_icons

when i try to change the icon of the flutter desktop app , i found the quality of the icon is bad although the uploaded icon image in the assets is (1024*1024) why this happen ? this is the pubspec....
ED11's user avatar
  • 3
0 votes
0 answers
24 views

Flutter App Crashing in Vivo and Opp Devices

I am building a Flutter app. It runs smoothly in debug mode but crashes in release mode on the Play Store, especially on some Vivo and Oppo devices. Below are the logs received from the Play Console. ...
Abu Talha's user avatar
0 votes
1 answer
66 views

Why are Dart http requests for GeminiAPI on Ubuntu VPS being blocked

I am running a simple Dart server with package shelf. The server makes a request to generativelanguage.googleapis.com. Everything is working fine on my own machine. When the Dart program is running on ...
NoctisBeta's user avatar
2 votes
2 answers
159 views

Correctly catching network and other errors in Flutter

I'm a little lost with handling Flutter errors. From what I've seen by now, the majority of the SDKs do not explicitly state the errors that they can throw, unlike other programming languages. It ...
Bharel's user avatar
  • 26.9k
1 vote
0 answers
47 views

"Bad state: Future already completed" when handling async login with modal navigation

I have two pages in my Flutter app: Settings Page (which has a login button) Login Page (where the user enters credentials) Navigation Flow: On the Settings Page, clicking the login button opens a ...
zacko's user avatar
  • 397
1 vote
1 answer
48 views

type '(SpecificType) => String' is not a subtype of type '(dynamic) => String'

I encounter a problem with type exception while writing a dart class with generic type for modular flutter package. I tried to reproduce it with normal dart program. I'm not sure if it's possible to ...
fanggiz's user avatar
  • 23
0 votes
1 answer
47 views

Why do I seemingly need to add @client on most Jaspr components (Dart)

While I worked a lot with Flutter, I am relatively new to using Jaspr to build Dart based web projects. So, I started by analyzing and modifying the counter web project that is shipped with Jaspr (...
cdemy Leitung's user avatar
1 vote
1 answer
52 views

SQLite. Searching by user-defined queries

I have an SQLite database (using the sqlite3 package) in my Flutter project, and I need to implement a search functionality. The main table I need to search through contains approximately 500k records....
Vyacheslav Orlovsky's user avatar
2 votes
0 answers
62 views

My flutter App is crashing after firebase Auth

I've been working on this issue for weeks now and still haven't found any answer. I found that it is the Firebase auth after retrieving the token from Google or Facebook which is crashing the app ...
adolphe1501's user avatar
0 votes
0 answers
35 views

How to get the visible/rendered value of a Text-widget while Testing?

I have kind of an responsive Text-widget which uses as much space as possible, but truncates overflowing Texts. To get stable and reliable code-base I want to have an test. which verifies that ...
regetskcob's user avatar
  • 1,191
3 votes
0 answers
56 views

Flutter: 'mouse_tracker.dart' Assertion Failed - '(event is PointerAddedEvent) == (lastEvent is PointerRemovedEvent)'

When mirroring a device using scrpy, anytime I scroll or pass the mouse cursor through widgets that have hover animations, it throws these exceptions, I've a found an open issue on Flutter github but ...
Igor's user avatar
  • 31
1 vote
1 answer
69 views

Why can't my Flutter Web page be less than 500px wide?

I do not think the CupertinoApp or Container has the min-width restriction but I couldn't find a way to get rid of it. Any help would be appreciated. void main() { runApp(const MyApp()); } class ...
John Liu's user avatar
  • 180
1 vote
0 answers
43 views

listView screen update

class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return ChangeNotifierProvider( create: (context) => MyAppState(), ...
hograto's user avatar
  • 29
0 votes
1 answer
88 views

is there any solution for this ..? flutter gradle error

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could ...
Manoj's user avatar
  • 49
2 votes
1 answer
179 views

Flutter PopScope onPopInvokedWithResult not calling on pressing back button

I am using Popscope on my local authview- a screen where user enters a pin to enter the app. When user hit backbutton it is clearing the entered pin but does not close the app. It is the first screen ...
Vinaya Augusthy's user avatar
1 vote
1 answer
68 views

Text form field label text behaviour - flutter dart

This is the goal This is what i made I can't customize properly the behaviour of the label text Container( width: 270, height: 40, decoration: BoxDecoration( color: const Color.fromARGB(255, ...
Cedric Gian C. Combate's user avatar
1 vote
0 answers
101 views

Google Signin asks for too much information

I have integrated Google Drive and Google SignIn into a Flutter app. The authentication process relies on the google_sign_in package maintained by the Flutter team. Unfortunately, when using this ...
ethicnology's user avatar
4 votes
2 answers
186 views

Flutter native splash showing only background on apk installation launch

ISSUE: Flutter native splash is showing only the background when launched right after installing with APK (first launch). But when later opened the, the main image and branding is shown. When ...
I. Antonov's user avatar
1 vote
2 answers
35 views

Flutter Uri() -- How Can I turn off queryParameter encoding

I call: Uri(scheme: scheme, host: '$name.blob.$suffix', path: path, queryParameters: _queryParams); the _queryParams contains a sas token with special characters in it, so the Uri call above will ...
Mike6679's user avatar
  • 6,136