unsupported_ option
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:
Unless stated otherwise, the documentation on this site reflects Dart 3.10.3. Page last updated on 2025-12-5. View source or report an issue.