Last active
July 5, 2017 04:48
-
-
Save Skylled/5808d15d4e6d2eccf87095f4550a7c78 to your computer and use it in GitHub Desktop.
Flutter StatefulWidget VS-Code/Dart-Code snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Stateful + State": { | |
"prefix": "stateful", | |
"body": [ | |
"class ${1:Class} extends StatefulWidget {", | |
" @override", | |
" ${2:State} createState() => new ${2:State}();", | |
"}", | |
"", | |
"class ${2:State} extends State<${1:Class}> {", | |
" @override", | |
" Widget build(BuildContext context) {", | |
" $0", | |
" }", | |
"}" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment