addGoRouter method

  1. @override
Future<void> addGoRouter(
  1. String projectName
)
override

Adds Go Router dependencies and templates to the project

Implementation

@override
Future<void> addGoRouter(String projectName) async {
  // This method is called when Go Router is added to an existing project
  // We need to get the current state management type from the project
  // For now, we'll assume it's none and let the main createProject handle the integration

  // Create Go Router templates
  await _fileSystemDataSource.createGoRouterTemplates(projectName);
}