TimeOfDay documentation has no comparison operator and primitive comparison does not work. My only solution that I can thinking of right now is to convert TimeO
I have a Model called service provider that contains a the following data: class ServiceProvider { final String logoUrl; final int lowerPrice; final
I want to show notifications on windows using Flutter. But I'm unable to do so. I've tried packages like deskkop_notifications and flutter_local_notifications.
I am trying to run a dart file without null safety using the command line. The file is: sandbox.dart void main() { String a; print(a); } I then run the
I am trying to run a dart file without null safety using the command line. The file is: sandbox.dart void main() { String a; print(a); } I then run the
Good day, guys I'm new to using Riverpod, I have a counter app that when the FAB button is tapped it increases the counter by 1. This works well using Riverpod
I used an enum variable in a class. Now I want to implement the toMap and fromMap methods for the class. enter code here enum ColorNumber { inc, dec, none }
I need on click delete image from firebase storage and firestore I've written this code that does the delete from firestore only. onLongPress: ()async{ await
How do you read text from a file and write text to a file? I've been learning about how to read and write text to and from a file. I found another question abo
void main() { Car c1 = new Car('E1001'); } class Car { String engine; Car(String engine) { this.engine = engine; print("The engine is : ${engine}
I have a ListView, filled with Firebase collection as chat messages. When the user long press a ListTile (an item on the list), I show a BottomSheet. When the
In Flutter, DropdownButtonFormField's modal list keeps growing to fill some height limit that seems to be ~90% of the screen (or possibly, and more likely, the
I want to print a message in the console every hour between the times from 9.00 AM to 16.30 PM using flutter.
I have an html file that I am loading in Flutter webview using flutter_webview_plugin. I am using evalJavascript to call function in my javascript code, meaning
I am using Flutters built-in themes like this: return MaterialApp( theme: ThemeData.light().copyWith( primaryColor: const Color(0xFF5E975
The question is how to format a Dart DateTime as a string stating the time elapsed similar to the way you see times displayed on Stack Overflow. Is there any b
I am using Flutter DataTables to display list of items in cart. Now I want to edit the quantity of any selected row. Is there a way to get the information of th
I am writing a flutter application. To make life easier for end users I decided to find services running on a Raspberry Pi. Avahi is running and working. I can
I have installed the Android studio and the plugin's DART,FLUTTER to kickstart the flutter but as i am not able to give path of sdk while creating my very first
I've painted a shape for the background of my content of Text. I want the background autoscale the Text, even the softWrap being true. So, I need to get the