180,387 questions
0
votes
1
answer
11
views
Deployment: How to sign an iOS app on an older Mac
I recently encountered a situation where a signed mobile app on my Mac, when uploaded to App Store Connect, gave a warning about the need to build the app on iOS SDK 18.
Here is the relevant news on ...
0
votes
0
answers
10
views
Certain Turkish Characters Are Not Displayed in My Android Flutter App
I'm working on a Flutter mobile app and testing localization. I noticed that in Turkish, certain characters are not displayed and instead show up as white spaces. The strange thing is that it works ...
0
votes
0
answers
17
views
How to integrate a candlestick chart like stockmarket app in a Flutter App
I am working on a stocktrading app where i need to integrate a candlestick chart into application.
i have tried material_charts and still looking for some stable package or custom widget for the same.
...
0
votes
0
answers
10
views
flutter - unable to run on android after update versions
+1 ms] Warning: Flutter support for your project's Android Gradle Plugin version (7.2.0) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least 7.3.1 soon.
[ ...
-1
votes
0
answers
11
views
flutter - pod install - returns always same error
milosn@MacBookPro ios % pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '10.25.0' ...
-1
votes
0
answers
12
views
launchUrl Not Working with LaunchMode.externalApplication on iOS
I am trying to launch URLs, emails, phone calls, and SMS using the url_launcher package in Flutter. While it works fine on Android, it does not work as expected on iOS when using LaunchMode....
0
votes
0
answers
11
views
Flutter Hive: boxName “cache” works, but “users” throws an error
Question:
I’m using Hive in my Flutter project, and I encountered a strange issue:
• If I use "cache" as the box name, everything works fine without any errors.
• But when I use "...
0
votes
0
answers
13
views
How to Implement AirPlay(iOS) and Cast(Androdi) Support in Flutter App Using just_audio and audio_service?
I'm developing a Flutter application that uses just_audio and audio_service for audio playback and background audio handling. I want to add AirPlay support so users can stream audio to nearby devices.
...
0
votes
1
answer
25
views
Navigator push below current route
In Flutter I want to push a page below current route. When current page is popped (navigated back), pushed page will be visible.
0
votes
0
answers
17
views
How to extract a specific column information from a pdf using flutter
I have a pdf file which has a table. Inside the table I have multiple columns. I want to extract the data from a specific column for all the entries. The pdf might contain multiple pages.
I am able to ...
0
votes
1
answer
31
views
SliverList stacked below SliverAppBar in flutter
I am using slivers to display various kind of content.
In some cases I have an empty title in AppBar and would like to push the content up to remove the blank space.
How would I do that?
This is my ...
0
votes
0
answers
17
views
How to get Google Lens search results in a flutter app
Is there a possibility to open Google Lens in a flutter app and get the search results to use them for some purpose? After searching, I got these lines of code, but they just open Google Lens in the ...
0
votes
0
answers
15
views
app crashes using android.permission.FOREGROUND_SERVICE_LOCATION
I'm trying to build a flutter app to get the location every 2 seconds even when the app is minimised. I'm using the flutter_background_service: ^5.0.4 for the app to check location when minimised.
...
0
votes
0
answers
19
views
Unable to Fetch and Display Admin, Passengers, and Drivers Chats from Firebase Firestore in Flutter
I am working on a Flutter project where I need to display chat messages between admin, passengers, and drivers. The chat data is stored in Firebase Firestore under the admin_chats collection. Each ...
0
votes
0
answers
9
views
The supplied phased action failed with an exception. Could not create task ':flutter_plugin_android_lifecycle:compileDebugUnitTestSources'
I'm encountering an error while trying to build my Flutter project for Android. The error message indicates that there is a mismatch in the roots for the flutter_plugin_android_lifecycle
The supplied ...
0
votes
0
answers
13
views
Huawei Error when building android app in Android Studio
I am getting this error when trying to build our android app:
What went wrong:
Execution failed for task ':app:checkEssDebugAarMetadata'.
Could not resolve all dependencies for configuration ':app:...
0
votes
0
answers
8
views
Bloc plugin generates empty files often (Flutter)
Maybe anyone knows why the Bloc plugin in the Android Studio generates the empty files when you are creating the new templates?
I tried to invalidate caches, restart IDE, reinstall the bloc plugin.
...
0
votes
0
answers
23
views
how to add splash screen in flutter?
so tis is my code basically explaining how splahs screen is implemented in flutter althugh i am having some issues if you may. the splash logo doesnt quite show u and its juts a blank screen until the ...
0
votes
0
answers
23
views
MobileNetV3-Large TFLite Model Works in Notebook But Always Predicts the Same Class in Flutter App
I trained a 46-class image classification model using MobileNetV3-Large with TensorFlow/Keras and saved it as a .keras model. I converted it to TFLite using tf.lite.TFLiteConverter.from_keras_model()
...
0
votes
0
answers
31
views
Cannot pass function as argument to constructor of class extended ChangeNotifier
I'm trying to write a provider class with ChangeNotifier. Because the class is designed to be generic so the data inside is generic, so I thought of passing detail extraction function to this provider ...
0
votes
0
answers
11
views
Flutter Does Not Preserve App State Properly During In-App Purchases
Description
I am facing a critical issue with Flutter's state preservation when handling in-app purchases. In my app, I have implemented in-app purchases using Provider for state management. The ...
-6
votes
0
answers
31
views
Hi, I'm new to this, I'm having problems with this code. Hi, I'm new to this, I'm having problems with this code [closed]
ProductInfo(Assets.whiskey56, 40, '168,88',
'Whisky Glenfiddich 18 Años' '\n750ml', 456),
];
ProductInfo? selectedProduct;
@override
Widget build(BuildContext context) {
return Scaffold(
...
-2
votes
0
answers
17
views
How can I display a widget in calendar [closed]
How can I display a widget containing a specific event inside the calendar, but make it appear below the day that has the event rather than inside the calendar itself? --
1
vote
1
answer
26
views
The named parameter 'documentSnapshot' is required, but there's no corresponding argument
I want to navigate from a page not using Firebase to another page that I used Firebase, I could not know what the right argument.
This is a non-firebase page, the error in the tourist() route.
class ...
0
votes
0
answers
20
views
ShowcaseView: Taps outside target area advance tour but fails when step includes navigating to a different screen
Description:
I'm using the ShowcaseView package to implement a guided tour in my Flutter app. For most steps, tapping outside the target area (i.e. on the overlay) successfully advances the tour. ...
1
vote
1
answer
23
views
Capture PowerShell Output in Dart and Flutter when Running Commands as an Administrator using Start-Process and -Verb RunAs
I am trying to run a Powershell command with admin privileges in Flutter/Dart.
The command runs a .ps1 file inside the temp directory.
I found this article, which I implemented and it works fine.
...
0
votes
0
answers
32
views
How to stop updating a control during route change
I developed a simple app using Python Flet 0.21.2. The app consists into two main views: the 'Welcome' and the 'Login', each of them defined into separate classes. Routing occurs into the main() ...
1
vote
1
answer
25
views
while using bloc arithmatic operator not working in flutter?
class CounterBloc extends Bloc<CounterEvent, CounterState> {
CounterBloc() : super(CounterState()) {
on<CounterIncrementEvent>((event, emit) {
emit(state.copyWith(count: state....
0
votes
1
answer
24
views
flutter: device Icon issue(adaptive and lagacy)
I have this image, I want in adaptive way for deviec shape,its giving me white spaces, when i am using circle icon then its giving in corner space in rectangle device shape
I have this image, I want ...
0
votes
0
answers
32
views
Widget with different appearances but same memory
In Flutter/Dart I would like to create a stateful widget that has two different layouts.
That means that the widget can save the current state (e.g. the variables) but that
different return functions ...
0
votes
1
answer
37
views
Flutter Image size independent of display size
I have following Image of specific dimensions:
SizedBox(
width: imageWidth,
height: imageHeight,
child: CachedNetworkImage(
imageUrl: images!.first.url,
fit: BoxFit.cover,
),
);
The ...
0
votes
0
answers
47
views
fetching remote config and unauthorized user access error only on emulator
as i use firebase remote config on my flutter android app (flutter 3.29, gradle 8.10.2, gms 4.4.2, bom 33.9, jdk 17) it throw [firebase_remote_config/forbidden] Fetch failed: The user is not ...
-1
votes
1
answer
45
views
CORS Issue with Odoo Authentication in Flutter App
I'm facing a CORS issue when trying to authenticate with Odoo from my Flutter application. However, the same request works fine when tested via Postman or a local Python script.
Issue:
When the ...
0
votes
0
answers
39
views
Location permission dialog not showing in android >11 using flutter
final permission =
await Permission.locationAlways.request();
I am using permission handler to request for the permission. Also as per guideline from the starting of the app ...
1
vote
0
answers
25
views
Firebase Email Link Sign-In: ‘The operation is not valid’ error on iOS (Flutter, Firebase Hosting, No Dynamic Links)
I’m implementing Firebase Email Link Sign-In in my Flutter app and using Firebase Hosting instead of Dynamic Links.
It works fine on Android, but on iOS, I get the following error:
The operation is ...
1
vote
0
answers
19
views
Verify Google adMob ads.txt file in iOS Flutter
I already implemented the Google admob in my flutter project and in both the stores my app is live and in android ads.txt file verified already But
In iOS where should I add my ads.txt link to verify ...
1
vote
0
answers
29
views
How to make Grid items stretch instead of resizing? Flutter
how could I make it so that whenever the user resizes the window the items in the grid(GridView or SliverGrid) stretch instead of changing height? is this possible?
let me show an example of the ...
2
votes
3
answers
47
views
Why Can't I Pop This View After Async Code Completes?
I've got a bit of code that allows a user to delete their account info from my Supabase backend. From what I can tell, the "delete user" part works fine (i.e. the user gets deleted from the ...
0
votes
0
answers
23
views
Get audio frame from audio file in Flutter
I am using flutter_quick_vide_encoder Flutter package to create a video from images. The package documentation explains, and there is also an example, on how to create a video with PCM audio generated ...
1
vote
1
answer
28
views
Navigator.of in flutter
hi guys I am not able to navigate in my flutter pages:
when I run this command on FLOATINGACTIONBUTTON onPressFunction (
onPressed: () {
Navigator.of(context).pushNamed('/new_note');
...
1
vote
1
answer
20
views
Flutter: Does the SelectionArea widget improve SEO on the web?
I've noticed that in Flutter web apps, there is no way to select text in the browser. While researching, I found the SelectionArea widget from this post, but I'm not sure whether or not including it ...
0
votes
0
answers
26
views
Render widget content to PDF or render html to widget and PDF consistently
In a few words, my problem is that I need to render HTML to a flutter widget and also be able to print it (e.g. to PDF) and both look the same.
A flutter app fetches simple HTML-formatted content from ...
0
votes
0
answers
25
views
Why doesn't GlobalKey preserve child widget animations when passed to a parent widget?
I want to determine the position and size of a widget in Flutter by obtaining its RenderBox. To achieve this, I assigned a GlobalKey to the widget and used it to access the RenderBox. However, while ...
0
votes
0
answers
45
views
How to make SVG elements interactive in Flutter to make Floor Map (Tap & Zoom)?
I am working on a Flutter application where I need to parse and manipulate an SVG file. The SVG contains different elements like polygon, rect, and path. Here an example snippet.
<svg xmlns="...
-6
votes
0
answers
26
views
How can I build a Xbox app using flutter? [closed]
I have a desktop app build by flutter.
I'd like to launch the app on Xbox as well.
Please let me know if you know about it.
#flutter #windows #xbox
0
votes
0
answers
36
views
flutter ios build crash
I am trying to build flutter app on iOS Simulator and get this error:
Launching lib/main.dart on iPhone 16 Pro in debug mode...
Running Xcode build...
Xcode build done. ...
0
votes
1
answer
19
views
Flutter GetX Obx not updating text on button press
Below I have a very simple GetX project that should basically load some data on button press asynchronously. However, I would like the button to change from 'PRESS ME' to 'LOADING' whilst the data is ...
0
votes
1
answer
45
views
How i can set a dropdown menu item dialog width?
DropdownButtonFormField(
items: businessType
.map((businessType) => DropdownMenuItem(
value: businessType,
child: SizedBox(
...
0
votes
1
answer
54
views
Widget simple declaration flutter
Is there a way to define a widget that does not inherit from statefull or statelles widget
,and when should to use it?
For example:
This is listView that displays objectCard(custom card):
ListView....
0
votes
1
answer
40
views
Can’t cancel a stream subscription
I have this code:
import 'dart:async';
import 'dart:math';
class TestService {
Random random = Random();
StreamController<double> streamController = StreamController<double>();
...