Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Awesome Flutter Snippets is a collection of commonly used Flutter classes and me
| `mntd` | Mounted | Whether this State object is currently in a tree. |
| `snk` | Sink | A Sink is the input of a stream. |
| `strm` | Stream | A source of asynchronous data events. A stream can be of any data type. |
| `impm` | Material Package | Import Material package.

<br>

Expand Down
7 changes: 6 additions & 1 deletion snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,10 @@
"final _${2:name}Controller = StreamController<${1:type}>();"
],
"description": "A source of asynchronous data events. A stream can be of any data type <T>"
}
},
"Material Package": {
"prefix": "impm",
"body": "import 'package:flutter/material.dart';",
"description": "Import flutter material package"
}
}