Speed up Flutter development with ready-to-use snippets for the widgets and boilerplate you write every day — widgets, layout, buttons, state, and async patterns.
All snippets are scoped to Dart files and prefixed with R, so typing R
in a .dart file groups them together in IntelliSense.
Snippets
| Prefix | Inserts |
|---|---|
Rstless |
StatelessWidget class |
Rstful |
StatefulWidget class |
Rbuild |
build method override |
Rscaffold |
Scaffold with AppBar + body |
Rcol |
Column with children |
Rrow |
Row with children |
Rcontainer |
Container with child |
Rpadding |
Padding with EdgeInsets.all |
Rcenter |
Center with child |
Rtext |
Text widget |
Rsizedbox |
SizedBox spacer |
Rlistview |
ListView.builder |
Rcard |
Card with padded child |
Relevbtn |
ElevatedButton |
Rtextbtn |
TextButton |
Rtextfield |
TextField with controller |
Rinitstate |
initState override |
Rsetstate |
setState call |
Rexpanded |
Expanded with child |
Ricon |
Icon widget |
Rfuturebuilder |
FutureBuilder with loading state |
Rgesture |
GestureDetector with onTap |
Usage
- Open a
.dartfile. - Type a prefix (e.g.
Rstful) and press Tab. - Tab through the placeholders to fill in names, children, and values.
License
MIT