Skip to main content
Filter by
Sorted by
Tagged with
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. ...
Kalpesh Khandla's user avatar
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 ...
Sindu's user avatar
  • 237
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 ...
AHMAD Farooq's user avatar
-4 votes
0 answers
26 views

what is the reason the database is locked for 10 seconds? [closed]

Warning database has been locked for 0:00:10.000000. Make sure you always use the transaction object for database operations during a transaction
Family Fairuza's user avatar
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 ...
fanggiz's user avatar
  • 23
0 votes
1 answer
26 views

Dart: Recursive Algorithm Composition

Looking for some guidance on method composition in Dart. I am working on a recursive event processor in Dart for a game. My recursive method has several inputs that then requires I pass along, ...
BajaBob's user avatar
  • 2,863
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 ...
Ohood Al-Ismaili's user avatar
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. ...
Theo's user avatar
  • 122
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 ...
Uwe.Schneider's user avatar
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'); ...
appdev's user avatar
  • 13
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 ...
bliako's user avatar
  • 1,133
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="...
Faizan Rizwan's user avatar
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>(); ...
RJ84's user avatar
  • 3
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 ...
Thomas Weller's user avatar
0 votes
1 answer
34 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 ...
Dreamer's user avatar
  • 25
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 ...
the cosmic introvert dude's user avatar
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, ...
Hira Zaheer's user avatar
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), ...
Abubakar Siddique's user avatar
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 ...
Drakares's user avatar
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 ...
Zkimi's user avatar
  • 23
0 votes
0 answers
42 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 ...
FilipeOS's user avatar
  • 859
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 ...
ARUN KUMAR's user avatar
1 vote
0 answers
27 views

How to send message to all connected clients with dart SseHandler

I have been trying to use the sse package in a dart-shelf backend. I want to send events to client apps when my database changes. I have got it hooked into a simple dart-shelf package. The handler ...
Vipul's user avatar
  • 23
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-...
dev2019's user avatar
  • 71
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 ...
Andrew's user avatar
  • 624
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 ...
Gatonito's user avatar
  • 2,184
-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 ...
Shah Nawaz's user avatar
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....
user29858490's user avatar
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 ...
Vinícius Bruno's user avatar
-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/...
David Schwartz's user avatar
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 ...
Ramin JAN's user avatar
0 votes
1 answer
47 views

Why does constructor in Dart set arguments only with this keyword?

I'm just curious: why does the following code snippet void main() { var hero = Hero("Luke", "Skywalker"); print(hero.sayName()); } class Hero { String firstName = "&...
Ksenia's user avatar
  • 3,731
-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 ...
M. Guy Sylvestre's user avatar
-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 ...
Nothing's user avatar
0 votes
0 answers
36 views

Wrap a generic class?

I'm trying to create a Sentry instrumenter for a gRPC server, which is basically generated code feeding a map with handler. I'm trying to wrap the handler, which I'm struggling on right now, because ...
Entilore's user avatar
  • 170
-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 ...
konguele's user avatar
-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,...
ALAMGIR MULLA's user avatar
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 ...
Vishnu's user avatar
  • 1
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, ...
Charly's user avatar
  • 1,352
-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
Ayubxon Ahmadjonov's user avatar
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( ...
Theppasin's user avatar
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....
Monkey.D Amith's user avatar
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 ...
Willi M's user avatar
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: [ ...
suprim's user avatar
  • 31
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); ...
loreeemartiii's user avatar
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 ...
user_odoo's user avatar
  • 2,358
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 ...
Hammad Khan's user avatar
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....
Hammad Khan's user avatar
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 ...
Nico's user avatar
  • 25
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: ...
Abdullah Bawajeeh's user avatar

1
2 3 4 5
1901