componentsCreate method

void componentsCreate()

Implementation

void componentsCreate() {
  var componentsContent = '''
// Define the components to be used in the game from this folder
// EJ: export 'components/components.dart';

''';
  var componentsFile = File('$name/lib/src/components/components.dart');
  componentsFile.writeAsStringSync(componentsContent);
}