addNewAnalysisOption method

void addNewAnalysisOption(
  1. String pathApps,
  2. String appsName
)

Implementation

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

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