unsupported_value
Details about the 'unsupported_value' diagnostic produced by the Dart analyzer.
The value '{0}' isn't supported by '{1}'.
Description
#The analyzer produces this diagnostic when an analysis options file contains a valid option and the value of that option is not a valid value.
Example
#
The following code produces this diagnostic because fatal isn't a valid
severity:
// %uri="analysis_options.yaml"
analyzer:
errors:
dead_code: fatal
Common fixes
#If a valid value specifies the intended behavior, then replace the unsupported value with it:
// %uri="analysis_options.yaml"
analyzer:
errors:
dead_code: error
If there is no valid value to use, then remove the option:
// %uri="analysis_options.yaml"
analyzer:
errors:
除非另有说明,文档之所提及适用于 Dart 3.10.3 版本报告页面问题.