From ab414b77f6cd55381e7d4f00fb58915c739735e1 Mon Sep 17 00:00:00 2001 From: mastergyp Date: Mon, 18 Jul 2022 11:32:18 +0800 Subject: [PATCH] fix: unable to run build_runner - The getter 'imports' isn't defined for the class 'PrefixElement' --- frontend/app_flowy/pubspec.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/app_flowy/pubspec.yaml b/frontend/app_flowy/pubspec.yaml index 8dbc3b4c70..5f4ff9c9b8 100644 --- a/frontend/app_flowy/pubspec.yaml +++ b/frontend/app_flowy/pubspec.yaml @@ -85,6 +85,9 @@ dev_dependencies: freezed: bloc_test: ^9.0.2 +dependency_overrides: + analyzer: ">=4.2.0 <5.0.0" + # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your