Questions tagged [dart]
Dart is a class-based, statically(& strongly)-typed programming language for building web and mobile applications. Dart compiles to modern JavaScript to run in the browser and compiles to native code to run on mobile platforms like Android and iOS. Dart also runs on the command-line for scripting and server-side apps.
94,604
questions
0
votes
0
answers
14
views
Alternatives to the discontinued zflutter package for dice animation in Flutter?
I’m currently using the zflutter package for dice animation in my Flutter app. However, the package has been discontinued, and my app is no longer functioning as expected. I have searched extensively ...
0
votes
0
answers
12
views
How to navigate to the map application in Carplay when integrating Flutter application with Carplay?
In the application I made with Flutter, I integrated CarPlay with the flutter_carplay package. When an item is clicked on the POI screen in Carplay, it needs to open the map in Carplay and navigate to ...
0
votes
3
answers
35
views
initializing User type
I am trying to implement the below code block but User _user showing warning as:
Non-nullable instance field '_user' must be initialized.
Try adding an initializer expression, or a generative ...
-3
votes
0
answers
34
views
How can I fix this issue please
Launching lib\main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.SocketException: Unexpected end of file from server
at ...
0
votes
0
answers
18
views
Flutter: razorpay payment gateway with custom checkout screen
I have integrated a payment gateway in my flutter app using razorpay. Is it possible to make a custom UI for the checkout page of razorpay?
For the payment process i currently use razorpay.open(...
0
votes
1
answer
17
views
How to properly implement a ZoneSpecification(fork: ) handler in Dart
When I try to implement a fork override for ZoneSpecifications like this:
runZoned(
() {
runZoned(() {
print('in zone');
});
},
zoneSpecification: ZoneSpecification(
fork: (self, parent, ...
0
votes
0
answers
13
views
Download video with image using flutter_ffmpeg
In my app i have a one video play on screen and on video one image. i want to save this video with image. so how to download using flutter_ffmpeg in flutter?
I have try using flutter_ffmpeg but no ...
0
votes
0
answers
16
views
Flutter Bloc Search
I pull data in rss format using bloc in Flutter
I have a global textfield in this way, I have categories under it and when I change the category, I change the page with page builder.
I pull the ...
0
votes
0
answers
26
views
Could not find an option named "flavor"
Since Flutter 3.16, we now can read flavor passed through flutter run --flavor
on Flutter Web
https://github.com/flutter/flutter/pull/134179
I tested it and it works. However, when I run in flutter ...
0
votes
0
answers
15
views
Tried to read Provider<QuerySnapshot<Object?>> but the matching provider returned null
I encounter an error like this in flutter with firestore. The ItemList is class I've defined.
Error: The widget ItemList tried to read Provider<QuerySnapshot<Object?>> but the matching
...
-6
votes
0
answers
26
views
Flutter filipbook [closed]
text
how can i make an animated book like the book on this site. What libraries are available for me to do this task.
I tried using filipwidget but it didn't work as expected.
I looked for a library ...
1
vote
1
answer
27
views
RangeError (index): Invalid value: Valid value range is empty: 0 using contact.phones!.elementAt(0).value
I am developing an application where I should access the contacts of the user. I am using contacts_service and permission_handler to access the contacts and here is my code:
import 'package:...
0
votes
1
answer
33
views
Difference between a specific time and Now in dart?
I want a timer to count up (or down) from current time (Now) to a specific time in dart.
example:
Specific time: 15:46:49 | current time: 13:35:11 | duration: -02:11:39. Now I want a timer that counts ...
0
votes
0
answers
17
views
Violating Interface Segregation Principle (ISP) because of fat module
I'm working with TMDB API, This API has 2 improtant endpoints one for movies and the other for series.
right now working on movies, so i made an abstraction layer (module) to get data from that API
...
0
votes
0
answers
26
views
Why does the body move much slower in a larger world?
When I tested my Flutter Flame Forge2d game on a PC instead of a phone, I found out that the larger screen size, and therefore world size, caused a body component to move much slower than expected.
...