All Questions
Tagged with flutter-ios or flutter
202,185 questions
0
votes
0
answers
4
views
MapBox Custom Nodes
I'm new to Mapbox and I'm exploring its features for a project. I want to create custom routing on the map, particularly in areas where Mapbox does not currently have roads or paths. I would like to:
...
0
votes
3
answers
28
views
Using compileSdk 35 requires Android Gradle Plugin (AGP) 8.1.0 or higher
After upgrade Flutter we facing issue
┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Using compileSdk 35 requires Android Gradle Plugin (AGP)...
1
vote
1
answer
15
views
Error: No named parameter with the name 'maxFacetHits'. With Algolia Search
I have no idea what is going on. Tried to build my flutter project today and I can not get it to run on either Android or iOS simulator. I get this error each time:
Error (Xcode): ../../../../.pub-...
0
votes
2
answers
46
views
How to align row to the bottom of the height unconstrained card in flutter?
I have an "infinite vertical scroll" with unconstrained height of the card. The only constraint is set for the image and all other elements shrink/expand to the remaining size. Text lines ...
0
votes
2
answers
16
views
Flutter - Grouping a list of Objects on Common String Value
I have this Group object
class Group {
final String dateFormatted;
final List<Event> events;
Group({required this.dateFormatted, required this.events});
}
I need to ...
1
vote
0
answers
17
views
CocoaPods and Ruby Compatibility Issues with Flutter 2.6 on M1 Mac (Pod Install Fails)
I have a Flutter project from 2021 that I need to rebuild without upgrading dependencies. To manage different Flutter versions, I installed FVM and switched to Flutter 2.6 to build for iOS.
However, ...
0
votes
1
answer
16
views
Flutter render overflow ListView Builder
I am getting what I think is a render overflow issue using a ListView builder. I am sure that the ListView is the issue. I have looked into wrapping the ListView in an Expaneded widget because it ...
0
votes
0
answers
18
views
How do i group items in a PagedListview in flutter?
The screen is a transaction_history screen that lists all transactions for that particular account and loads more as the user scrolls. But i am finding it difficult to group them by their timestamps. ...
1
vote
1
answer
24
views
In Dart how can I define a Arithmetic Operator as a Variable?
In dart I want to set a plus or minus operator as a variable.
var plusOrMinus;
if (x >= y) {
plusOrMinus = -;
} else {
plusOrMinus = +;
}
How do I define plusOrMinus so ...
0
votes
0
answers
17
views
Error when building with xcode on Azure Pipelines
I'm trying to implement CI/CD for my team's Flutter app, and when using Xcode@5 task to build an IOS version of the app, im getting the following output:
Starting: Xcode Build
========================...
0
votes
0
answers
11
views
How to update Flutter riverpod to version >= 2 (using riverpod decorator)
I have a flutter app and I am using flutter_riverpod: ^2.5.1 ... And my code is:
import 'package:flutter_riverpod/flutter_riverpod.dart';
class PersonState {
int age;
String? name
PersonState({...
-1
votes
1
answer
11
views
Flutter web app with StickyHeadersTable do not scroll neither vertically nor horizontally
here my code:
child: SizedBox(
width: MediaQuery.of(context).size.width * 0.95,
height: MediaQuery.of(context).size.height * 0.6,
child: StickyHeadersTable(
columnsLength: numeroColonne,
rowsLength: ...
0
votes
0
answers
9
views
DartError: LateInitializationError: Field 'dropzoneViewController' has not been initialized
I am recently creating an application in which I wrote a function to receive photos from the user, but when I click on the select photo button, I get these errors and no window opens to select photos
...
0
votes
0
answers
7
views
How to go back to home when refreshing Flutter web app from browser?
I am developing a flutter app with Getx, on Android and IOS is working fine, but if i use it on web, when I refresh from the browser, I lose the navigation stack and I stay "blocked" in the ...
0
votes
1
answer
10
views
How to properly react to changes from other providers using Riverpod?
currently BatchSizeNotifier reset ProgressNotifier when it changes, but I would like ProgressNotifier to reset itself when BatchSizeNotifier changes by listening to it, but it doesn't seem to work.
...
-1
votes
0
answers
27
views
flutter how to stop StreamBuilder refresh when push to next page
In page A I use StreamBuilder to render some data,
then I push to B page using Navigator.push (A's Stream is not stoped)
I found A's StreamBuilder builder is still calling.
/// a complex model with ...
-3
votes
0
answers
28
views
Why does Github Co-Pilot stopped working properly? [closed]
Im working on an App currently and helping me out with GitHub Copilot.
It worked the whole time for like 8 hours straight and now it suddenly just gives me unfinished or completly wrong lines of code. ...
-1
votes
0
answers
26
views
App doesn't adhere to program policies Your (Android) app isn’t ready to show ads yet
I have applied for google admob multiple times but I always get the same message:
We completed our app review. Unfortunately, some issues need
to be fixed before your app is ready to show ads. The ...
0
votes
0
answers
9
views
Unable to Show Google Pay Button in Stripe Payment Sheet in Flutter
I’m trying to integrate Google Pay with Stripe in my Flutter app to display a Google Pay button in the payment sheet. I followed the steps in this https://www.youtube.com/watch?v=4lUaLjSe4y4, but the ...
0
votes
0
answers
19
views
How to make a Dropdown button that has a tree structure
Is it possible to make something like this with DropdownButton (or any other Flutter widget)?
By "Tree Structure" I mean that certain values of the list of selection when clicked, do not ...
0
votes
1
answer
11
views
Firestore stream not updating after security rules have been added
Why does my realtime stream not update when I add in my security rules? No error is returned and the stream is not triggered.
With security rules like this my stream updates when values change on the ...
0
votes
0
answers
10
views
Flutter AWS Amplify gen2 get data sorted from server
I am developing an android app with flutter and use AWS Amplify gen 2.
I already have the correct code so that I get the posts from the server but they are always unsorted. I need them to be sorted by ...
0
votes
0
answers
19
views
implement carousal in flutter using native android code
we have a button in flutter main. when i click the button the carousal component is shown . the images should be passed from the flutter to carousal component which is a native component . but i keep ...
0
votes
0
answers
14
views
How to bypass server restrictions for downloading a file due to CORS policy?
I am working on a Flutter application, and I need to download a ZIP file from a public server using an HTTP GET request. The URL is something like: "https://example.com/file.zip".
However, ...
-1
votes
0
answers
21
views
Android - Display number in Status bar, update every 1 min
I have no experience in Android apps, can someone help me write such a small script?
What I need? I need an Android app to run in background and display a number in status bar of my Android phone.
So ...
0
votes
1
answer
89
views
Warnings after upgrading to Flutter 3.27.0: 'value' and 'green' are deprecated
After upgrading Flutter to version 3.27.0, I started seeing some warnings related to deprecated properties in the Color class:
Warning:
info: 'value' is deprecated and shouldn't be used. Use component ...
-3
votes
0
answers
26
views
Uploading multiple Images to a server takes Long time
I'm currently learning flutter and doing much practices, lately I faced an issue where uploading 10 images in flutter took 9 minutes. In real time, no one would wait for application to take 10 minutes ...
1
vote
1
answer
32
views
How to block user interaction when inserting an OverlayEntry?
After I inserted an OverlayEntry, I would like to disable any user interaction on the underlying Widget so that you can only interact with the OverlayEntry. How could I do this?
I've run the example ...
0
votes
0
answers
16
views
Updating data in TestFlight is not working
I am doing an app in flutter and the business user has the option to edit their data that they fetch in firestore when they created an account. In simulator everything works fine , only in test flight ...
1
vote
1
answer
14
views
As soon as I implement ExpansionTileControler it is not working
I´m trying to control a Expansiontile via a tilecontroler, but as soon as I integrate it, the app is broken when I klick the tile.
Sorry, I´m new to Flutter. Any hints?
import 'package:flutter/...
-1
votes
0
answers
24
views
Real-Time Document Detection with OpenCV in Flutter: Help Needed for Varying Lighting Conditions [closed]
I’m currently working on a document scanner feature for my Flutter app, leveraging the OpenCV SDK for native Android implementation. The objective is to detect and highlight documents in real-time ...
0
votes
0
answers
29
views
RangeError (RangeError: Value not in range: 8)
I try to develop a plugin with flutter platform channel, everything is fine, but sometimes I got the following exception:
RangeError (RangeError: Value not in range: 8)"
The exception is (...
0
votes
0
answers
8
views
Improving Distance Calculation with Real-Time GPS Data: Handling Inaccuracies and Errors (Taxi app)
I’m calculating the distance traveled based on consecutive latitude and longitude points (n-1 and n) using the Haversine formula. I’m using the Geolocator package to stream location data every second. ...
0
votes
0
answers
40
views
Flutter project automatically closed when running in Android device or Emulator
good day!
I am currently working on a Flutter project using Java 17, Flutter 3.7.12, and Android Studio. The project runs successfully on Chrome (web) and on a Medium phone emulator (API 35). However, ...
0
votes
1
answer
121
views
After upgrading flutter to 3.27, App stuck on launch on android, giving no errors in console
I upgraged to flutter 3.27 and when installed tmy flutter app onmy samsung galaxy note 10 lite, it stuck on black screen, there are no errors showing on console.
2
votes
1
answer
96
views
Flutter Web Debugging Issue: Assertion Failed on Text Input Click in Chrome (Flutter 3.27.0, Dart 3.6.0)
I am encountering a peculiar issue while debugging a Flutter web application on Chrome. My development setup is as follows:
Flutter Version: 3.27.0
Dart Version: 3.6.0
Editor: Visual Studio Code (1.95....
1
vote
0
answers
22
views
My Flutter app using Firebase gets stuck on loading screen after pressing button
My Flutter app using Firebase gets stuck on loading screen after pressing button.
button code:
TextButton(onPressed: (){
_submit(context);
},
child: Text("Sign In")
),
void ...
1
vote
0
answers
38
views
Sharing images to selected contacts on WhatsApp using Flutter
How can I share content on WhatsApp to selected contacts using Flutter, with support for both image sharing and text messages on both iOS and Android?
I have checked with these packages : ...
0
votes
0
answers
25
views
Carplay - Firebase - Flutter
I'm develop an flutter application integrated with carplay and firebase messaging.
When I initialized firebase for my iOS application, i easily got APNS token from firebase. But after adding carplay ...
0
votes
0
answers
18
views
After changing it to FieldType.password,I can't log in because I get an error saying the password is wrong,but when using FieldType.string can log in
as follows, first I have a file named 'common.dart' with:
enum FieldType {
string,
float
int,
text,
boolean,
date
time,
dateTime,
files,
password. password
}
And the file named '...
0
votes
0
answers
23
views
Aligning a DataTable cell to be at top rather than centered
I have a DataTable widget that looks as follows:
Notice the vertical alignment of the cell in column "col1". It is centered. I would like the vertical alignment to be "start" so ...
1
vote
0
answers
38
views
Java, Android Studio & Gradle: Confused about Compatibility Matrix
I am running the latest version of Android Studio (Android Studio Ladybug | 2024.2.1 Patch 2) and Java 21 (I was running Java 23 before while trying to get it to work with Gradle 8.10 but have not had ...
0
votes
0
answers
18
views
Why does the Playstore console give a warning even though I have given advertising permission (permission.AD_ID) to the AndroidManifest.xml file?
I am using Google Admob with Flutter. In the AndroidManifest.xml file, the tag <uses-permission android:name="com.google.android.gms.permission.AD_ID"/> is added.
In the App content in ...
0
votes
0
answers
18
views
Why does my flutter app crash while using a classifier trained model?
I use a trained model for audio classification in a flutter app. I use the tflite_audio plugin: ^0.3.0, when I start audio recording the app closes. Works well with a google teachablemachine model. ...
1
vote
0
answers
18
views
`Finish` Flutter button with reset() and pushNamed() results in "Concurrent modification during iteration" error
Introduction
I am working on Flutter and Dart.
In the app, I have a screen that displays the result of the invoice scan,
It doesn't matter whats the content there,
because the question not related to ...
-1
votes
0
answers
22
views
I am getting Xcode abseil undefined symbol error
Flutter iOS Build Issue: Undefined Symbols Error in Xcode
I successfully developed a Flutter app on my Windows PC, where it works perfectly on Android devices. Now, I want to run and compile the app ...
0
votes
0
answers
15
views
Flutter App no data while on background from platform code
I have developed a Flutter app that collects cell signal strength data using native Java code and sends it over MQTT in real time for monitoring and testing purposes. The app also integrates location ...
0
votes
0
answers
9
views
Exif rotation value after taking a picture is not being captured correctly in Flutter
I am trying to take a picture, and then trying to capture the exif rotation value of an image and based on that value, trying to rotate the image. I am using exif package. Even tho the image is ...
-2
votes
0
answers
22
views
Distribute an iOS app via my website (EU only) [closed]
for context, I am trying to distribute an enterprise iOS app (built with Flutter), which will not allow access for everybody and therefore can't be launched on the Apple App Store. Recently, it became ...
1
vote
0
answers
14
views
Could not resolve main entrypoint function when using flutter_background_service
i am developing an application that will hit an api containing user position from geolocator in background using flutter_background_service but sometimes this error occur and the service wont work.
...