I am using analyser
1.7.1. The latest build_runner
build command generates the following error.
flutter packages pub run build_runner build Failed to precompile build_runner:build_runner: ../../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.7.1/lib/src/error/best_practices_verifier.dart:1998:14: Error: A non-null value must be returned since the return type 'String' doesn't allow null. String get displayString {
The usual flutter clean
and pub cache repair
commands don't seem to be fixing the problem, and displayString
doesn't appear anywhere in my codebase.