flutter pub run build_runner build でエラー

C:\dev\carespt\care_smile>flutter pub run build_runner build
Unhandled exception:
Bad state: Unable to generate package graph, no `C:\dev\carespt\care_smile\.dart_tool\flutter_gen\pubspec.yaml` found.
#0      _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:232:5)
#1      _parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:206:21)
#2      PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:101:33)
<asynchronous suspension>
#3      main (file:///C:/Users/nikottomokotto/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner-2.1.7/bin/build_runner.dart:27:30)
<asynchronous suspension>
pub finished with exit code 255

android studio で [pubspec.yaml]を開いて、右上の「pub get」をクリックしたら、治ったのか?

/* -----codeの行番号----- */