Skip to content

Latest commit

 

History

History
57 lines (55 loc) · 4.68 KB

Flutter Snippets.md

File metadata and controls

57 lines (55 loc) · 4.68 KB

Provides live templates for Flutter to save time writing boilerplate.

The following commands are supported:

Shortcut Description
pagestart Create page with MaterialApp.
page Create page without MaterialApp.
btn_flat Create FlatButton Widget
btn_flat_icon Create FlatButton.icon Widget
btn_raised Create RaisedButton Widget
btn_flat_icon Create RasiedButton.icon Widget
btn_outline Create OutlineButton Widget
btn_outline_icon Create OutlineButton.icon Widget
btn_text Create TextButton Widget
btn_text_icon Create TextButton.icon Widget
btn_popup Create PopupMenuButton Widget
btn_dropdown Create DropdownButton Widget
btn_icon Create IconButton Widget
animatedBldr Animated Builder|Creates an Animated Builder.
aspectRatio AspectRatio |Creates an AspectRatio
build Build Method
column Column |Creates a Column Widget
container Container |Creates a Container Widget
customClipper Custom Clipper
customPainter Custom Painter
customScrollV Custom ScrollView
debugP Debug Print
dis Dispose
futureBldr Future Builder|Creates a Future Builder.
initS InitState
layoutBldr Layout Builder
listViewBldr ListView.Builder
mounted Mounted|Whether this State object is currently in a tree.
nosm No Such Method
orientationBldr Orientation Builder
reassemble Reassemble
row Creates a Row Widget
showDialog Alert Dialog
singleChildSV Single Child Scroll View|Creates a scroll view with a single child
snk Sink|A Sink is the input of a stream.
streamBldr Stream Builder
statefulBldr Stateful Builder
strm StreamController
subj BehaviorSubject
text Text |Creates a Text Widget
toStr To String|Returns a string representation of this object.
tweenAnimationBldr Tween Animation Builder
valueListenableBldr Value Listenable Builder
cupeApp Cupertino App |Create a New Cupertino App
importC Cupertino Package|Import Cupertino package.
importM Material Package |Import Material package
mateApp Material App |Create a new Material App
scfAll Scaffold |Creates a Scaffold containing an Appbar, BottomNavigationBar and FloatingActionButton
scfAppBar Scaffold |Creates a Scaffold containing an Appbar
scfAppBarFab Scaffold |Creates a Scaffold containing an Appbar and Floating Action Button
scfAppBarBtmNav Scaffold |Creates a Scaffold containing an Appbar and Bottom Navigation Bar