Closed ristiisa closed 3 years ago
No, that's quite common that the IDE shows errors or wavy underlines while the project still runs. If it does, it's just a nuisance.
Such false errors can usually be suppressed but in this case, this is an automatically generated file, so whatever comment you put there will be removed the next time around...
export 'src/sqflite_web_stub.dart' if (dart.library.html) 'src/sqflite_web.dart';
The error should be caused by this. It's not necessary.It should be written as
export 'src/sqflite_web.dart';
I don't think so. First, it's not an error, it's an IDE warning. Second, it will seemingly go away but the plugin will no longer be able to compile correctly on different platforms then. The if
is there for a reason...
I'm not really sure this is a bug or an issue with this library. But asking still...
When I add the dependency to a project the
generated_plugin_registrant.dart
has some errors:A minimal error producing pubspec.yaml:
I'm asking because the project runs and works in web but tooling seems to be confused about it...
I'm running Flutter
stable 2.2.2