unable to run localy on MacOS, @nullable can't be used as an annotation
knightuniverse opened this issue · comments
The error is
lib/data/app_user.freezed.dart:49:4: Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.
@nullable
^
My MacOS version is
macOS Catalina 10.15.7
Flutter version
Flutter 2.1.0-10.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision cc9b78fc5c (8 天前) • 2021-02-25 13:26:03 -0800
Engine • revision a252ec09b7
Tools • Dart 2.13.0 (build 2.13.0-77.0.dev)
pls have a look at the attachment for all errors