Describe the bug
I'm not able to import the model-viewer library into my main dart file. Error: The library 'package:model_viewer/model_viewer.dart' is legacy, and should not be imported into a null safe library.
Try migrating the imported library.dart(import_of_legacy_library_into_null_safe)
To reproduce
Dart SDK version: 2.13.4 (stable) (Wed Jun 23 13:08:41 2021 +0200) on "macos_x64"
Flutter 2.2.3 • channel stable
Expected behavior
To import the library
Desktop (please complete the following information):
- OS: Mac 11.4
- Visual Studio Code 1.58
Describe the bug
I'm not able to import the model-viewer library into my main dart file. Error: The library 'package:model_viewer/model_viewer.dart' is legacy, and should not be imported into a null safe library.
Try migrating the imported library.dart(import_of_legacy_library_into_null_safe)
To reproduce
Dart SDK version: 2.13.4 (stable) (Wed Jun 23 13:08:41 2021 +0200) on "macos_x64"
Flutter 2.2.3 • channel stable
Expected behavior
To import the library
Desktop (please complete the following information):