When publishing my package after adding web support i got this error Package validation found the following error: * line 9, column 1 of lib/hexcolor_web.dart:
I want to have a print method in my class, also I want to be able to use print inside it example: class A { String val; void print() { print(val); } }
The following assertion was thrown while applying parent data.: Incorrect use of ParentDataWidget. The ParentDataWidget Flexible(flex: 1) wants to apply ParentD
We want to show image on a pdf from assets folder in Flutter web application: import 'package:pdf/pdf.dart'; import 'package:pdf/widgets.dart' as pw; import 'pa
I need to make HTTP Post JSON request but first i need to Get 3 different JSONs and make 1 of them. I thought better way to do this is to work
I am trying to decode animated webp image file and encode it's frames to animated webp image file in Dart (cli) Dart Code: import 'dart:io'; import 'package:ima
Actually in flutter DateTime.now() is returns device date and time. Users sometimes change their internal clock and using DateTime.now() can give wrong result.
Here is the code. I want to remove the black underline just below text, and currently the TextField is in edit mode: TextField( autofocus: true, de
This dependency supposedly supports web, but the implementation to listen for the callback and retrieve the token is missing. After digging around for the last
I have a screen, which contains a Form with a StreamBuilder. when I load initial data from StreamBuilder, TextFormField show data as expected. When I tap inside
Is there a way to return several values in a function return statement (other than returning an object) like we can do in Go (or some other languages)? For exa
I have some troubles in understanding how future builder works in flutter. I want to pass a list of String from my future call and I want to display them in a S
When updating my flutter to version 3.0.0 , the console started showing me this error does anyone know how to fix it AppData\Local\Pub\Cache\hosted\pub.dartlang
What is the rule of thumb to use an initial method for a widget. Shall I use the: A. classical stateful widget approach? Or is it better to stick with the B. s
I started Flutter web and i wanted to add Material icons to my Flutter web app but its displaying boxes instead. Any help is appreciated. Thanks
I'm trying to fetch data Online Using HTTP GET with Flutter SDK. I'm trying with this code https://github.com/RaglandCodes/Flutter-basic-API/blob/master/lib/mai
I want to hide auto generated dart files like .g.dart, .freezed.dart from vs code project. How to do that?
here is my flutter doctor output Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [V
How i can fix this ?? flutter build web Building with sound null safety Target dart2js failed: Exception: Warning: The 'dart2js' entrypoint script is deprecated
I am trying to make my data table in Flutter more responsive by adjusting the width according to screen resolution (eg: in browser, its the default width, and i