diff --git a/README.md b/README.md index 772a9be..4442a67 100644 --- a/README.md +++ b/README.md @@ -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.
diff --git a/snippets/snippets.json b/snippets/snippets.json index 2e37bad..d8c2264 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -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 " - } + }, + "Material Package": { + "prefix": "impm", + "body": "import 'package:flutter/material.dart';", + "description": "Import flutter material package" + } } \ No newline at end of file