All Questions
83,207 questions
1
vote
0
answers
18
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
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
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
32
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 ...
1
vote
1
answer
27
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 ...
1
vote
1
answer
24
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
33
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 ...
1
vote
1
answer
29
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');
...
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
46
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="...
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>();
...
0
votes
0
answers
38
views
How to refactor a string into a ARB resource in Dart/Flutter?
I am working on a legacy Flutter app which does not have translations.
I need to create many resource entries in the ARB file and then replace the text by AppLocalizations.of(context).something.
Is ...
0
votes
1
answer
35
views
Plugin Upgrader.dart flutter not work - Can't find an app in the Play Store with the id
I'm trying to make force update for user so user can't skip the update, i'm already use in_app_update and ask here My Question but not found solution
so now i use plugin Upgrader in my flutter but ...
0
votes
0
answers
24
views
How to disable invalid_annotation_target warning?
Context
I released a package to pub.dev. The model classes were built with freezed. After release, I noticed that pana (the pub.dev's analysis tool) complaining about the following warnings and the ...
0
votes
1
answer
30
views
My backdropfilter in flutter app is giving a whitish glow why is it so event the color is transparent
here in this image it is showiing the whitish glow effect
Positioned.fill(
child: SizedBox(
child: BackdropFilter(
// enabled: false,
...
0
votes
0
answers
56
views
How to display images in flutter with different dimensions inside a fixed-size container while maintaining aspect ratio and ensuring a clean UI?
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ClipRRect(
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(10),
...
1
vote
2
answers
67
views
The method 'withValues' isn't defined for the type 'Color'
i have error with withValues
my flutter version is 3.24.5
my code:
import 'package:eClassify/ui/theme/theme.dart';
import 'package:flutter/material.dart';
enum AppTheme { dark, light }
final ...
1
vote
0
answers
43
views
TypeError: Instance of '(JSObject) => void': type '(JSObject) => void' is not a subtype of type 'JavaScriptFunction?'
I recently updated Dart (3.7.1) and Flutter (3.29.0) and I had to migrate from dart:html to package:web on my project.
I made the migration and everything worked fine except Google Sign In.
I face the ...
0
votes
0
answers
43
views
Flutter Web - Force open externally in Facebok
I have a problem with deeplinks in Facebook.
This is working perfectly in android and iOS apps but when I try to open a link on facebook, even redirecting and removing junk from link, it fails saying ...
1
vote
1
answer
45
views
I published flutter web on iis server and when reload or refresh link gives 404 error
i am using flutter as a web when publish as a release mode on iis server gives HTTP Error 404.0 - Not Found when reload with url,but ok with click on links.
but localhost work fine, there no any ...
0
votes
0
answers
35
views
GoRouter Pop Animation Skipped When Dismissing Alert Dialog
I am using GoRouter in Flutter to handle navigation and show a page with a slide-up animation.
However, when I try to show a confirmation dialog (AlertDialog) before dismissing the page, the slide-...
0
votes
1
answer
62
views
Type casting from type 'Type' in dart
I have a Flutter widget that looks like this:
class KeyboardShortcuts extends ConsumerWidget {
final Widget child;
const KeyboardShortcuts({super.key, required this.child});
@override
Widget ...
0
votes
0
answers
30
views
How to safely inspect flutter dependency tree?
I want to use a flutter project but first I want to inspect all dependencies first. Is there a way to clone the project, download the dependencies but NOT execute any code in them, so I can inspect ...
-1
votes
2
answers
63
views
How to track referrer in a Flutter app after Play Store install? [closed]
How to track referrer in a Flutter app after Play Store install?
Question:
Hey Flutter devs,
I'm working on a referral system for my Flutter app (UDealZone) which is currently live on playstore, and I ...
0
votes
1
answer
32
views
flutter_libserialport 0.5.0 Build failed SDKVersions suppressError=21
I have this error:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':flutter_libserialport'.
[CXX1110] Platform version 16 is unsupported by this NDK....
1
vote
0
answers
24
views
Execution failed for task ':app:mapDebugSourceSetPaths'. Cannot access input property 'localResources' of task ':app:mapDebugSourceSetPaths'
I'm having this problem when running an Android project in Flutter.
I tried to solve the problem by reading this solution: Execution failed for task ':app:mapDebugSourceSetPaths'. > Error ...
-2
votes
0
answers
44
views
image compression to speed data xfer over NFC [closed]
NOTE: The badge I have is sealed. What suggestions does anybody have for finding out what's inside of it without totally destroying it? It uses NFC to exchange data with a phone or a desktop reader/...
0
votes
0
answers
73
views
Problem Building APK with Flutter and Gradle (New Project)
I’m working on a Flutter project using VS Code. I created the project with the flutter create command, so it uses Gradle Kotlin DSL (build.gradle.kts) by default.
The main issue is that when I run ...
-1
votes
0
answers
14
views
Error of the qr_code_scanner package and solution make
enter image description here
enter image description here
Scan the package configuration and modify my project's gradle settings. Since I'm using Java 17, I've made similar changes to the local ...
-1
votes
0
answers
19
views
How to solve sign in issue in google in android studio [closed]
I am creating an app for my project. When i tap sign in, the google sign in works and then it shows sign in requires account selection. After clearing the app from recents and opening it again, it is ...
-1
votes
2
answers
40
views
My app in Dart is not able to select languages properly
I hope you can help me. I am developing an app in Dart with Flutter from Visual Studio.
I've added some languages and in one language I'm getting the following error, the rest works correctly. I have ...
-2
votes
0
answers
34
views
how to launch Google Map in minimized format (PiP mode) automatically from flutter app [closed]
like this app if user click on accept the flutter app should launch the Google Map in minimized format (PiP mode).plzz click the link to see the image
Without launching full app then navigation starts,...
0
votes
2
answers
30
views
solution for changing release build name in a dynamic way
Code i used for changing the build name dynamically but its not working properly the desired name is showing on the log as a printing statement,build name remain as same apk-release.apk instead of new ...
0
votes
0
answers
28
views
Flutter/Dart: extractFileToDisk causes exception: Failed to load dynamic library 'libc.so.6'
I'm extracting a ZIP file in my flutter app, and after upgrade flutter (unfortunatelly I did not note the old flutter version) the following lines
await extractFileToDisk(
params.backupFilePath,
...
-3
votes
0
answers
23
views
I have problem when I run old project I take FAILURE: Build completed with 2 failures. 1: Task failed with an exception. l [closed]
how can I resolve this problem I spent about 1 hour
can you help me
1
vote
1
answer
73
views
VSCode Flutter disable auto remove trailing comma at format
I've changed my PC and install VSCode with Flutter and I found out that formatter is auto remove trailing comma and line break if that line is not over the rulers.
like:
Something( ...
2
votes
2
answers
102
views
How to fix 'cannot find symbol' error for Registrar in Razorpay_Flutter plugin on Flutter 3.29.0?
I'm using the razorpay_flutter plugin in my Flutter project, but when I try to build the app, I get the following error:
error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry....
0
votes
1
answer
33
views
How to setup USB Serial Device over dart/flutter?
I have an RFID Reader from a company called Metratec. I actually enjoy this reader very much and there is a detailed PDF and prewritten packages for Java, Python and .NET. Now I want to write my own ...
0
votes
2
answers
79
views
Fixing issue for CustomScrollView for flutter
@override
Widget build(BuildContext context) {
return Scaffold(
body: RefreshIndicator(
onRefresh: () async => refreshControllers(),
child: Stack(
children: [
...
1
vote
2
answers
75
views
Flutter doesn't load data from Firestore Database
I'm trying this code:
try {
print("via!");
QuerySnapshot qs = await FirebaseFirestore.instance
.collection('muscle_groups')
.get();
print(qs.docs.length);
...
0
votes
0
answers
52
views
Issues with Text and Icons in Dart Form After Flutter Update
After updating Flutter to a new version, sometimes text and icons do not display correctly inside a Dart form. Can anyone suggest what the issue might be?
When run app on emulator in debug console i ...
0
votes
1
answer
48
views
Flutter Provider TypeError: 'Null' is not a subtype of type 'String'
Issue:
I'm using provider 6.1.2 in my Flutter project, and I'm encountering this error:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════
The following _TypeError was ...
2
votes
1
answer
74
views
Flutter Build Fails: Registrar Not Found in razorpay_flutter & paytm_allinonesdk
I'm working on a Flutter project that includes razorpay_flutter and paytm_allinonesdk plugins. When I try to build the project, I get the following errors:
error: cannot find symbol
import io....
0
votes
0
answers
42
views
FutterMap with CrsSimple wrong dimensions for tiles
I'm working on a Tile Viewer using the FlutterMap package, and I'm facing issues with displaying tiles correctly based on zoom level and position.
Goal
Display tiles correctly in the FlutterMap ...
0
votes
0
answers
21
views
Issues with ChatAI Implementation Using Poe API in Flutter
I am trying to implement a simple ChatAI application using the Poe API in Flutter, but I am encountering issues where the chat functionality is not working as expected. Here is my code for reference:
...
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 (...
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 ...
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 ...
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/...
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 ...