unsupported_option
Details about the 'unsupported_option' diagnostic produced by the Dart analyzer.
The option '{0}' isn't supported by '{1}'.
Description
#The analyzer produces this diagnostic when an unsupported option is specified.
Example
#
The following code produces this diagnostic because experiments isn't a
supported option:
// %uri="analysis_options.yaml"
analyzer:
experiments:
- augmentations
Common fixes
#If you intended to use a supported option, then replace the unsupported option with the supported one:
// %uri="analysis_options.yaml"
analyzer:
enable-experiment:
- augmentations
If no option exists for your intended purpose, then remove the unsupported option:
// %uri="analysis_options.yaml"
analyzer:
除非另有说明,文档之所提及适用于 Dart 3.10.3 版本报告页面问题.