Hello, I'm developing a web app using flutter_web. It works good with stable channel importing flutter_web with webdev. I was using dart:js and dart:html library. But they don't work after i change the dependency from flutter_web to flutter using master channel where flutter_web has been merge into flutter. Is this normal?
Ok... just figured out that indeed dart:js dart:html don't get recognized in VSCode and that an error will show, but if you ignore that...you are actually able to make a web build and/or debug with flutter run -d chrome.
Dart2Js finished with:
packages/http/src/multipart_file.dart:14:8:
Error: Error when reading 'packages/http/src/multipart_file_stub.dart': Error reading 'packages/http/src/multipart_file_stub.dart' (No such file or directory)
import 'multipart_file_stub.dart'
^
packages/http/src/multipart_file.dart:93:7:
Error: Method not found: 'multipartFileFromPath'.
multipartFileFromPath(field, filePath,
flutter run -d chrome
works well but flutter build web
failed. I am using protobuffer
and grpc-web
as dependency