import 'package:flutter/material.dart'; #set( $CamelCaseName = "" ) #set( $part = "" ) #foreach($part in $NAME.split("_")) #set( $CamelCaseName = "${CamelCaseName}$part.substring(0,1).toUpperCase()$part.substring(1).toLowerCase()" ) #end #parse("File Header.java") class ${CamelCaseName} extends StatelessWidget { static route() => MaterialPageRoute(builder: (context) => ${CamelCaseName}()); const ${CamelCaseName}({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( body: Column( children: [], ), ); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter