Skip to content

Instantly share code, notes, and snippets.

@nicowernli
Created December 12, 2019 14:25
Show Gist options
  • Save nicowernli/2f34d09d29f04636b789dad256659f17 to your computer and use it in GitHub Desktop.
Save nicowernli/2f34d09d29f04636b789dad256659f17 to your computer and use it in GitHub Desktop.
Stateful Widget File Template
#set ( $CAMEL_NAME = ${StringUtils.removeAndHump(${NAME})} )
import 'package:flutter/material.dart';
class ${CAMEL_NAME} extends StatefulWidget {
@override
_${CAMEL_NAME}State createState() => _${CAMEL_NAME}State();
}
class _${CAMEL_NAME}State extends State<${CAMEL_NAME}> {
@override
Widget build(BuildContext context) {
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment