All Questions
1,033 questions
0
votes
1
answer
30
views
Flutter Stripe:- Custmore id is not showing in transaction details
I have done succesfully transation but the custmore details are not showing in transaction details.
await Stripe.instance
.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
...
0
votes
0
answers
45
views
Flutter HandshakeException: Connection terminated during handshake on TestFlight
I am getting the HandshakeException: Connection terminated during handshake on Testflight on my Flutter app and also on Android phone, it shows for some users, for others don't, it is also sometimes ...
0
votes
1
answer
53
views
Speech-to-Text Working on Desktop Web but Not on Mobile Web (Flutter Web)
The speech_to_text package works perfectly on the desktop web (tested on Chrome) but fails on mobile web. On mobile web, the recording sound can be heard initially, but the speech input is not ...
0
votes
1
answer
35
views
Dynamic dimensions using Dart is not applying changes in smaller pixels
I'm working with a Flutter project and I want to set a dynamic dimensions that will work on different sizes of devices. But I'm having some trouble since its not really applying the changes. Maybe my ...
2
votes
4
answers
307
views
Flutter Execution failed for task ':file_picker:compileDebugJavaWithJavac'
/Users/mycomputer/.pub-cache/hosted/pub.dev/file_picker-8.1.5/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:257: error: cannot find symbol
if (registrar != null) {
...
1
vote
0
answers
29
views
Shipping binary asset and loading it in Dart
I have package my_package that is a dart wrapper package for a binary.
At the moment this binary loaded using
DynamicLibrary loadDll(String name) {
final String debugAssetsDir = normalize(join(...
0
votes
0
answers
16
views
Could not load compiled classes for build file and Could not get unknown property 'android' for project : firebase_core
I am unable to build project, everytime I try to build the app it's showing an error which says that:
Could not load compiled classes for build file 'C:\Users\Tanmay Nandwana\AppData\Local\Pub\Cache\...
0
votes
1
answer
36
views
Error in flutter: Exception caught by rendering library, Each child must be laid out exactly once
this is my GameScreen.dart code:
import 'package:flutter/material.dart;
import "dart:math";
import 'package:guess_my_number/welcome_text.dart';
class GameScreen extends StatefulWidget {
...
0
votes
1
answer
934
views
Error [SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart
i Get This Error When In Specific Project run build runner
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart. This is likely caused by a misconfigured builder ...
1
vote
2
answers
1k
views
Method does not override any method from its superclass In Flutter
When I am trying to run my Flutter application on iPhone 15, I am getting an error similar like this.
Launching lib/main.dart on iPhone 15 Pro in debug mode...
Xcode build done.
Failed to build iOS ...
0
votes
1
answer
114
views
Uploading Files to OneDrive in Flutter
I/Choreographer(25376): Skipped 1 frames! The application may be doing too much work on its main thread.I/flutter (25376): Connected to OneDrive.I/flutter (25376): Attempting to upload CSV file to ...
0
votes
1
answer
319
views
Because project depends on flutter_lints any which doesn't exist (authorization failed), version solving failed
Since yesterday, every time I run flutter pub get, it gives this error:
Because project depends on flutter_lints any which doesn't exist (authorization failed), version solving failed.
Insufficient ...
0
votes
1
answer
48
views
Issue Sharing Images from Multi-Page PDF in Flutter
I'm developing a Flutter app where I need to convert a multi-page PDF into images and then share these images. I'm using the pdf_image_renderer package for rendering the PDF pages to images and ...
0
votes
1
answer
59
views
How to keep the edited text even after the reload in flutter
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
bool _isEnable = false;
...
0
votes
0
answers
61
views
Could not resolve all files for configuration ':connectivity_plus:androidApis'. getting error while running project in android but iOS its working
Getting error while running in android
Multiple build operations failed.
Could not resolve all files for configuration ':connectivity_plus:androidApis'.
Could not resolve all files for configuration ':...
-1
votes
1
answer
72
views
Flutter- Pick contact from from default contact app
I want to pick a contact from the mobile default contact app. I have searched lots of things but getting the same response from everyone, first, fetch the contact list in our application then pick the ...
0
votes
1
answer
40
views
Is there a way to show a login screen when app becomes inactive and then once user login, the app resumes like nothing happened in flutter?
The thing I want to implement - App launches from splash screen, goes to login screen and then to home screen and user can continue from there. Now let's assume the user is on profile screen and then ...
-1
votes
0
answers
30
views
Fluttertts package, Detected as Suspicous Package by Antivirus App
I am trying to build build and app where i have used Fluttertts package for text recognition. But when i install the app on device containing Antivirus app, the app is detected as Suspicious and ...
0
votes
1
answer
141
views
Got dependencies! 7 packages have newer versions incompatible with dependency constraints
[appname] flutter pub get --no-example
Resolving dependencies...
Downloading packages...
collection 1.18.0 (1.19.0 available)
http_parser 4.0.2 (4.1.0 available)
leak_tracker 10.0.4 (10.0.5 available)
...
0
votes
0
answers
24
views
Flutter Create multiple document in same collection in Firestore
I want to create multiple documents inside the single or same collection in Firestor. The issue is when I can call the addTeacherBasicDetails() method, so create the perfect but after that, I can call ...
0
votes
1
answer
82
views
Did `dartdoc` drop support for generating markdown documentation? If yes, is there an alternative solution?
I want to generate documentation for my flutter project, which will later be published to its GitHub wiki via a pipeline (this question is not about how I could set up such a pipeline).
As a first ...
0
votes
0
answers
54
views
I am trying to convert a Flutter widget to an image. But getting some exception while release build creation
Error while building > flutter build apk:
E/flutter ( 1555): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LateInitializationError: Local 'result' has not been initialized....
1
vote
0
answers
51
views
How to print Arabic words in Flutter using Mobile Printer
I am attempting to print Arabic words in Flutter using a mobile Bluetooth printer (POZONE). However, the printer outputs blank pages. Here is the relevant code snippet:
code
import 'dart:typed_data';
...
0
votes
0
answers
49
views
Flutter FlutterContacts.getContacts get phone number reversed
contacts = await FlutterContacts.getContacts( withProperties: true, withPhoto: true); Contact contact = await FlutterContacts.getContact(contacts.first.id);
that code must return phone number, ...
0
votes
2
answers
1k
views
package_info_plus flutter package is not compatible with other flutter packages
I'm facing dependency conflicts in my Flutter project when using the package_info_plus package. The issue comes because package_info_plus has specific version requirements for the http package, which ...
0
votes
0
answers
13
views
the image path in Dart
I designed user interfaces in Figma and I used the Fun12 website to convert the design into Dart language code. When I converted it, the code appeared to me perfectly, but there is a problem in the ...
3
votes
1
answer
2k
views
Flutter get_cli package installation failure
I'm using get_cli to manage my flutter app file stacture, but when i'm installing the package i'm getting an error, i have clean the pub cache but i can't solve it need help.
I'm using flutter version ...
0
votes
2
answers
59
views
How to pass a logic expression as string and return the response in Flutter
How do i test a expression in a string and evaluate it:
String expression = "'Cat' != 'Dog'";
I want that something like that:
if(expression) // return it logic result
like this:
if('Dog' !...
1
vote
2
answers
693
views
How to disable all Flutter app logs using "Logger" Dart package?
I want to release my Flutter app and I want to find a way to disable all logs in my app
late Logger logger;
void main() async {
WidgetsBinding widgetsBinding = WidgetsFlutterBinding....
0
votes
0
answers
79
views
MissingPluginException(No implementation found for method canStartScan on channel wifi_scan)-I'm receiving this error in my flutter app
MissingPluginException(No implementation found for method canStartScan on channel wifi_scan)-I'm receiving this error for a method in wifi_scan package in my flutter app. But my flutter code was ...
0
votes
1
answer
495
views
Error: Error: Dart library 'dart:js_interop_unsafe' is not available on this platform
/C:/Users/ravir/AppData/Local/Pub/Cache/hosted/pub.dev/pointycastle-3.8.0/lib/src/platform_check/node_crypto.dart:5:8: Error: Dart library 'dart:js_interop_unsafe' is not available on this platform.
...
0
votes
1
answer
207
views
Missing the required "name" field
Is there a way that dart pub creates a pubspec.yaml to install the CSV module?
$ dart pub add csv
Could not find a file named "pubspec.yaml" in "/home/michal/Downloads/shazam".
$ ...
0
votes
2
answers
144
views
Is there a proper replacment for WillPopScope rather than PopScope?
I had made a chatting application but I am having problems in it's chatting screen because I am using emoji_picker_flutte package to show a emoji board,and I had implemented it such that whenever the ...
0
votes
0
answers
72
views
flutterfire configure does not work after correct installation
I have tried to implement firebase for authentication purposes in my flutter project.
I have followed the docs and installed the CLI, added the PATH environment variable, logged via 'firebase login'.
...
-2
votes
2
answers
85
views
'List<Comment>' can't be assigned to the parameter type 'List<Widget>'
posts.dart file
return ListView(
shrinkWrap: true, //for nested lists
physics: const NeverScrollableScrollPhysics(),
children: snapshot.data!.docs.map((doc) {
//get the comment
final ...
2
votes
0
answers
290
views
Runtime exception error on Google play console for AutoTranslateSettingJobService settings and same source and destination for locale
Exception java.lang.RuntimeException: java.lang.IllegalStateException: Source and target locales are the same
at android.app.job.JobServiceEngine$JobHandler.handleMessage (JobServiceEngine.java:118)
...
2
votes
0
answers
135
views
implementing multi qr code scanning in a stepper, flutter
I'm building a flutter application and i want to scan 2 qr codes in a stepper widget in 2 steps , I'm using the mobile scanner package.
first one is to scan the qr code on the voucher and then display ...
0
votes
0
answers
199
views
Flutter - How to remove unnecessary package constraint that causes version resolving issues?
Right now I'm trying to update my packages in my Flutter project. But I can't because there are constraints and then more constraints and then more constraints.
At the very bottom of the "issue&...
1
vote
0
answers
997
views
I'm trying to use Firebase to auth by using email/password and found this error
I/FirebaseAuth(11262): Logging in as [email protected] with empty reCAPTCHA token
W/System (11262): Ignoring header X-Firebase-Locale because its value was null.
W/System (11262): Ignoring header X-...
0
votes
0
answers
77
views
My flutter cmd keep bringing me this error
It keeps telling me gradle error. what can i do?
/C:/flutter/flutter/packages/flutter/lib/src/material/elevated_button.dart:151:22: Context: Found this candidate, but the arguments don't match.
...
0
votes
1
answer
409
views
How to publish Dart package to pub.dev from an Azure Pipeline
I want to publish a Dart package to pub.dev from a yaml-based Azure Pipeline.
I looked at the following documentation about automated publishing of Dart packages, but it doesn't mention Azure ...
1
vote
1
answer
191
views
How to make Selectable Region Widget from Right to Left Direction
I am using a selection area with a selectable region and need to make the direction of selection from right to left (I tried all the RTL solutions for example wrapping with directionality).
but I am ...
1
vote
0
answers
66
views
How to detect text below the window overlay in flutter
I did window onverlay over another apps using dash bubble package now i want to detect the text below that overlay icon. e.g if i over to whtsapp and when i mover the overlay over any text i want to ...
2
votes
0
answers
321
views
Flutter Google Chrome Extension - how to communicate between Dart and service worker when the popup is not active?
Context:
I am currently building a Password Manager app in Flutter (thanks to FlutterFlow) for IOS, Android and Chrome (as an extension).
Build info:
manifest V3
flutter 3.13.7 (current flutter ...
1
vote
1
answer
281
views
Display Parallax images as wallpapers in Flutter/Dart using depth map and normal image
I want to create a parallax effect 3D image using depth map in flutter. The gyroscope sensor of the phone will be used to create the 3D effect when user titles. What is the logic behind this creating ...
0
votes
1
answer
215
views
How to Align Center Active Background Color on Date Number in package Syncfusion_flutter_datepicker version 20.3.61?
enter image description here
I want to make the background color of the date options when active to be centered. How can I do this?
Note: I am using SDK version 2.12 and syncfusion_flutter_datepicker ...
1
vote
1
answer
351
views
Why is "flutter pub get" command suggesting to update internal dependencies?
Why is flutter pug get command showing and suggesting updating some internal dependencies which I directly do not use in my pubspec.yaml file?
Below is the result of flutter pug get command.
Resolving ...
1
vote
1
answer
86
views
Convert/map Phone class model to another model with fewer properties only
I am fetching phone contacts where it gives the list of contacts. From the list I want only a few properties like display name, email and phone contacts only. How can we get only those properties from ...
2
votes
1
answer
123
views
While rendering the webview in Flutter App, if there are any links to navigate it should navigate to respective link using webview_flutter 4.0.2
This is my code:
import 'dart:io';
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:webview_flutter/webview_flutter.dart';
...
3
votes
1
answer
858
views
Flutter Package Configuration Error while adding third-party packages
while installing any third-party package in Flutter and try to run my code it always to go an error that there is no namespace found in build gradle file
for an example this one
A problem occurred ...