componentsCreate method

void componentsCreate()

Implementation

void componentsCreate() {
  var componentsContent = '''
// Define the components to be used in the game from this folder

export 'ball.dart';
export 'bat.dart';
export 'brick.dart';
export 'play_area.dart';
''';
  var componentsFile = File('$name/lib/src/components/components.dart');
  componentsFile.writeAsStringSync(componentsContent);
}