I am building a web application using dart with web_ui.
Everything worked fine until I added the web_ui pub, and now when I try to run the build.dart file, I get an error message:
Uncaught Error: type 'AttributeName' is not a subtype of type 'String' of 'name'.
What does it mean?
From what I understand, this means that there is somewhere an instance called "name" of the class "AttributeName" that extends the class "String".
I searched my entire project and there was no class with the name "AttributeName" anywhere, there was no instance of "name" anywhere.
I have the latest Dart and SDK editor:
Dart Editor version 0.4.7_r21658 Dart SDK version 0.4.7.5_r21658
EDIT: this is my build.dart file:
import 'package:web_ui/component_build.dart'; import 'dart:io'; void main() { build(new Options().arguments, ['web/menyplattan.html']); }
In addition, I updated all the pubs.
source share