content property
Store the content that will be written to the file in a String or Future
Implementation
@override
String get content => '''$import
class ${_viewName.pascalCase}Page extends BasePage<${_viewName.pascalCase}Controller, ${_viewName.pascalCase}State> {
@override
Widget builder(BuildContext context) {
return Scaffold(
appBar: AppAppBar(title: 'app_name'.tr()),
body: SingleChildScrollView(
physics: const ClampingScrollPhysics(),
child: Container(),
),
);
}
}
''';