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,510
questions
-1
votes
0
answers
6
views
Flutter - How to pay user on request after verifying points on app
I want to first verify the points on the app and automatically pay the user accordingly once the user requests, is there any way to do so? [Android at least]
I only found ways how to collect money ...
0
votes
0
answers
19
views
EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICEThe following ProgressEvent$ object was thrown resolving an image codec: [object ProgressEvent]
I am getting this error in my flutter app. So i am trying to show an image stored in my backend/public/temp by using Multer the image is being stored well as you can see here
but when i try to use it ...
0
votes
0
answers
7
views
Failed to build the iOS iPhone Simulator error on XCode. Not able to run my flutter application
Running pod install... 30.0s
Running Xcode build...
Xcode build done. 461.1s
Failed to build iOS app
Uncategorized ...
0
votes
0
answers
12
views
How to parse a String to a HTML object in Dart?
I am trying to easily access an HTML response from a website using Dart CLI.
The main issue is that I can't parse the String response to a DOM/HTML/XML object. I tried with web or html packages but ...
0
votes
1
answer
19
views
I want the DropDownButtonFormField to having padding/margin around it's DropDownMenuItems
I am using DropDownButtonFormField in my code. I want to add margin around it's items but am not able to do so. Here is my code:
DropdownButtonFormField<String>(
validator: (...
0
votes
0
answers
19
views
how to migrate to null-safety - Expected a value of type List<ClassroomRoutineModel> , but got one of type List <dynamic>
I'm trying to migrate an old project to null-safety, and I'm struggling with loading data from assets,
Here is my code :
ClassroomModel _$ClassroomModelFromJson(Map<String, dynamic> json) {
...
0
votes
0
answers
21
views
How to display single scroll view for two ReorderableGridView in Flutter
I have two ReorderableGridView (from this package ReoderableGrid view ) in a page
like these
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children:...
0
votes
0
answers
11
views
Error making appointment: FormatException: Invalid date format in Flutter app using Dio for API requests
I am working on a Flutter application that involves making appointments by selecting a date and time. The appointment details are then sent to the backend via an API request. However, I'm encountering ...
0
votes
1
answer
33
views
Flutter code, truncate API and can't fetch full json data
Description
When i try to use the API from the call, the code truncate the api Json and the part of the json body that i use for conditionals to enable and disable view of widgets doesen't exist. I ...
0
votes
1
answer
20
views
in realm , can't get schema for configuration
i am using realm: ^3.1.0 for the very first time but i can't get schema form my model class.
This is my model class which is private according to the package
import 'dart:developer';
import 'package:...
0
votes
1
answer
33
views
I want to change the current location blue marker color in flutter
I want to change the color of current location blue marker to orange color. However , I have changed the radius color. But, the blue dot color is not changing. Can, anyone please guide me how to ...
1
vote
2
answers
30
views
Want to select only minutes and seconds in Flutter TimePicker
Is there any built in widget in 'material' flutter which allows us to select minutes and seconds in a rotating dial like manner, something similar to TimePicker widget (which only allows to select a ...
0
votes
0
answers
16
views
Socket.IO: Clients Not Receiving changeRoom Event in Multiplayer Game
I'm building a multiplayer game using Flutter for the frontend and Node.js with Socket.IO for the backend. The problem is that when a second player joins a room, the changeRoom event is not being ...
0
votes
1
answer
25
views
Flutter DataTable headingRowColor using WidgetStateColor does not work properly
Code: I built a DataTable widget and I would like to change the header color of the table by the following:
headingRowColor: WidgetStateColor.resolveWith((states) {
if (states....
1
vote
1
answer
20
views
Why does adding this Flutter widget make the app not responsive to mouse clicks?
I'm writing a Flutter app and running it on the desktop. One of its pages has a column with the following widget as the first child:
class HeroBanner extends StatelessWidget {
String? image;
...