screenNoChildTemplate top-level constant

String const screenNoChildTemplate

Implementation

const String screenNoChildTemplate = """import 'package:projectName/core.dart';
class className extends StatelessWidget {

  /// ### `className`
  ///
  /// `Description`:
  ///
  /// `Example`:
  // TODO: Implement the className
  const className({Key? key}) : super(key: key);

  /// `pageKey`: current widget key which will be important when testing widget
  static const Key pageKey = ValueKey("className");

  static const String title = "className";

  @override
  Widget build(BuildContext context) {
    /// set the current browser title
    ApplicationService.setTitle(context, title);

    return AdaptivePlatformWidget(child: Scaffold(body: Center(child:Text("className"))));
  }
}""";