setupAnalysisOptions method

void setupAnalysisOptions(
  1. String pathFeature,
  2. String featureName,
  3. String appsName
)

Creates the analysis_options.yaml file for the feature.

This method sets up the analysis_options.yaml file to include the standard dev_dependency_manager configuration.

Implementation

void setupAnalysisOptions(
    String pathFeature, String featureName, String appsName) {
  final path = join(pathFeature, 'analysis_options.yaml');
  path.write('''include: package:dev_dependency_manager/flutter.yaml

# Additional information about this file can be found at
# https://dart.cn/guides/language/analysis-options
''');
}