Questions tagged [dart-html]

Dart HTML allows access to basic browser features like the DOM, FileSystem, Websockets and other things.

Dart HTML provides access to basic browser features like the DOM, FileSystem, Websockets and other things. It doesn't provide the same interfaces to the DOM that JavaScript has, but provides a much richer interface to the DOM. Some browser features, like SVG, WebGL and Web Audio have their own libraries.

dart:html library

Connect Dart & HTML

474 questions
-1
votes
3 answers

Error: Not found: 'dart:html' import 'dart:html' as html;

i got this weird error in my app yesterday when i try to run it and i cant quite understand how to fix it. it shows a lot of error line, this wasnt happen before and i dont know what went wrong. here's the error Invalid depfile: D:\Kuliah\Mata…
NyK
  • 43
  • 7
-1
votes
2 answers

Snapshot returns Null

I have this custom Data Model named "ServiceModel" as below: class ServiceModel { int status; String message; List errors; Data data; ServiceModel({ required this.status, required this.message, required this.errors, …
-1
votes
1 answer

Flutter - 'List' is not a subtype of type

I've been looking for a WordPress + Flutter App integration and found a good one, but I got this error message: I'm pretty this is a simple error, but I'm more into a design guy than a dev, so would be great if some of you give me some tip about it.…
-1
votes
2 answers

How to add header to flutter web http request?

Flutter web app http request with package http: ^0.13.3. below is my code to retrieves data from api Server. var data = await http.get(Uri.http(ServerRoot, "api/conversation/1"),); But adding authentication header gives me following error. this…
Sulfy
  • 239
  • 4
  • 17
-1
votes
1 answer

Flutter App crashes after sharing to another phone with no error

I debug my flutter app successfully but after sharing it to a different phone using Xender the app couldn't be install. What can be the problem? PLEASE HELP
-1
votes
1 answer

How to apply material light theme in App layout of angular components with angularDart

I want to apply the material light theme, i.e. white background color and black text color in App Layout component of angular components with the angular dart.
Tushar Rai
  • 2,371
  • 4
  • 28
  • 57
-1
votes
1 answer

Why some libraries cannot be used in web and command-line apps?

While reading the article library tour of Dart, I've just discovered that some libraries cannot be used in web apps and other libraries cannot be used or are not available for command-line apps, while all of these mentioned libraries belonging to…
nbro
  • 15,395
  • 32
  • 113
  • 196
-2
votes
1 answer

Material Design in Dart

At the moment I can not find a somewhat up to date version of mdc for dart. I can find for example https://pub.dev/packages/mdc_web and https://github.com/dart-lang/angular_components but both are really far away from an up to date implementation of…
timmornYE
  • 708
  • 2
  • 8
  • 22
-4
votes
1 answer

Create a map inside a list in Flutter/Dart

I want to create a MAP inside a list. The result should be something like this [{date: 0, value: 0}, {date: 1, value: 0}, {date: 2, value: 0}, {date: 3, value: 0}, {date: 4, value: 0}]
GAURAV JOSHI
  • 659
  • 8
  • 7
1 2 3
31
32