widgetStatelessStub function
This stub is used to create a Stateless Widget in the /resources/widgets/ directory.
Implementation
String widgetStatelessStub(ReCase rc) => '''
import 'package:flutter/material.dart';
class ${rc.pascalCase} extends StatelessWidget {
const ${rc.pascalCase}({super.key});
@override
Widget build(BuildContext context) {
return Container(
);
}
}
''';