Created
June 7, 2018 03:19
-
-
Save buntagonalprism/a00b0bbfe3d1590ac0248cf73020c785 to your computer and use it in GitHub Desktop.
Individual Flutter Stateless Widget template file for inclusion in Medium article
This file contains hidden or 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
#set( $nameparts = $NAME.split("_")) | |
#set( $namepart = '') | |
#set( $classname = '') | |
#foreach( $namepart in $nameparts ) | |
#set( $classname = $classname + $namepart.substring(0, 1).toUpperCase() + $namepart.substring(1)) | |
#end | |
import 'package:flutter/material.dart'; | |
class $classname extends StatelessWidget { | |
// TODO: add state variables, methods and constructor params | |
$classname(); | |
@override | |
Widget build(BuildContext context) { | |
// TODO: add widget build method | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment