Skip to content

Commit c27284c

Browse files
committed
Add content for the Plugin Repository
1 parent 4137d51 commit c27284c

File tree

2 files changed

+44
-10
lines changed

2 files changed

+44
-10
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Flutter Snippets
2+
An Intellij & Android Studio plugin that adds Live Templates to your IDE saving time writing the boiler plate in Flutter.
3+
4+
5+
## Available Snippets
16
| Shortcut| Flutter Docs| Description|
27
| ---------- | ------------------------ | -------------- |
38
|`alertDialog`|[View Docs](https://docs.flutter.io/flutter/widgets/AlertDialog-class.html)|Creates a showDialog that returns with AlertDialog|

resources/META-INF/plugin.xml

Lines changed: 39 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,41 @@
11
<idea-plugin>
2-
<id>com.herbert.george.flutter-snippets</id>
3-
<name>Flutter Snippets</name>
4-
<version>0.1</version>
5-
<vendor>George Herbert</vendor>
6-
<description>Provides live templates for Flutter to save time writing boiler plate</description>
7-
<idea-version since-build="141.0"/>
8-
<extensions defaultExtensionNs="com.intellij">
9-
<defaultLiveTemplatesProvider implementation="FlutterTemplateProvider"/>
10-
<liveTemplateContext implementation="FlutterContext"/>
11-
</extensions>
2+
<id>com.herbert.george.flutter-snippets</id>
3+
<name>Flutter Snippets</name>
4+
<version>0.1.0</version>
5+
<vendor>George Herbert</vendor>
6+
<description><![CDATA[
7+
Provides live templates for Flutter to save time writing boiler plate.<br><br>
8+
9+
The following commands are supported:
10+
<table>
11+
<tr>
12+
<th>Shortcut</th>
13+
<th>Description</th>
14+
</tr>
15+
<tr>
16+
<td>alertDialog</td>
17+
<td>Creates a showDialog that returns with AlertDialog</td>
18+
</tr>
19+
<tr>
20+
<td>futureBldr</td>
21+
<td>Creates a FutureBuilder</td>
22+
</tr>
23+
<tr>
24+
<td>listViewBldr</td>
25+
<td>Creates a ListView.builder()</td>
26+
</tr>
27+
<tr>
28+
<td>streamBldr</td>
29+
<td>Creates a StreamBuilder</td>
30+
</tr>
31+
</table>
32+
33+
]]></description>
34+
<change-notes>Initial release of Flutter Snippets to the plugin repository</change-notes>
35+
<idea-version since-build="141.0"/>
36+
<depends>com.intellij.modules.java</depends>
37+
<extensions defaultExtensionNs="com.intellij">
38+
<defaultLiveTemplatesProvider implementation="FlutterTemplateProvider"/>
39+
<liveTemplateContext implementation="FlutterContext"/>
40+
</extensions>
1241
</idea-plugin>

0 commit comments

Comments
 (0)