|
1 | | -# Awesome Flutter Snippets |
2 | | -Awesome Flutter Snippets is a collection of commonly used Flutter classes and methods. It increases your speed of development by eliminating most of the boilerplate code associated with creating a widget. Widgets such as `StreamBuilder` and `SingleChildScrollView` can be created by typing the shortcut `streamBldr` and `singleChildSV` respectively. |
3 | | -<br> |
| 1 | +# README |
| 2 | + |
| 3 | +Awesome Flutter Snippets is a collection of commonly used Flutter classes and methods. It increases your speed of development by eliminating most of the boilerplate code associated with creating a widget. Widgets such as `StreamBuilder` and `SingleChildScrollView` can be created by typing the shortcut `streamBldr` and `singleChildSV` respectively. |
| 4 | + |
| 5 | +<br/> |
| 6 | + |
4 | 7 | ## Features |
5 | | -- Speeds up development |
6 | | -- Eliminates boilerplate |
| 8 | + |
| 9 | +- Speeds up development |
| 10 | +- Eliminates boilerplate |
7 | 11 | - Supports complex widgets (Eg: Custom Clipper and Custom Paint) |
8 | | -<br> |
| 12 | + |
| 13 | +<br/> |
| 14 | + |
| 15 | +<center> |
| 16 | +<a href="https://newsletter.neevash.dev/" target="_blank"><img width="700px" src="https://raw.githubusercontent.com/Nash0x7E2/awesome-flutter-snippets/nash/flutter-3-validation/images/the_flutter_bi_weekly.svg?sanitize=true"/></a> |
| 17 | +</center> |
| 18 | + |
| 19 | + |
9 | 20 |
|
10 | 21 | | Shortcut | Expanded | Description | |
11 | 22 | | ---------- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
@@ -43,110 +54,116 @@ Awesome Flutter Snippets is a collection of commonly used Flutter classes and me |
43 | 54 | | `importM` | Material Package | Import Material package. |
44 | 55 | | `importC` | Cupertino Package | Import Cupertino package. |
45 | 56 | | `importFT` | flutter_test Package | Import flutter_test package. |
| 57 | +| `importAL` | App localisation | Allows for the importation of app_localisation following [generation](https://docs.flutter.dev/development/accessibility-and-localization/internationalization). |
46 | 58 | | `mateapp` | Material App | Create a new Material App. |
47 | 59 | | `cupeapp` | Cupertino Package | Create a New Cupertino App. |
48 | 60 | | `tweenAnimationBuilder` | Tween Animation Builder | Widget builder that animates a property of a Widget to a target value whenever the target value changes. |
49 | 61 | | `valueListenableBuilder` | Value Listenable Builder | Given a ValueListenable<T> and a builder which builds widgets from concrete values of T, this class will automatically register itself as a listener of the ValueListenable and call the builder with updated values when the value changes. |
50 | 62 | | `f-group` | Group | Create a group test function. |
51 | 63 | | `f-test` | Test | Create a test function. |
52 | | -| `widgetTest` | Test Widgets | Create a testWidgets function. |
| 64 | +| `f-testWidgets` | Test Widgets | Create a testWidgets function. |
53 | 65 |
|
54 | | -<br> |
| 66 | +<br/> |
55 | 67 |
|
56 | 68 | ## Requirements |
57 | | -Vscode: `1.56.0` |
58 | 69 |
|
59 | | -<br> |
| 70 | +Vscode: `1.56.0` |
60 | 71 |
|
61 | 72 | ## Known Issues |
62 | | -At this time, there are no known issues. If you discover a bug or would like to see a shortcut added, please create a pull request at our GitHub page. |
| 73 | + |
| 74 | +At this time, there are no known issues. If you discover a bug or would like to see a shortcut added, please create a pull request at our GitHub page. |
63 | 75 |
|
64 | 76 | ## Release Notes |
65 | 77 |
|
| 78 | +### 4.0.0 |
| 79 | + |
| 80 | +- **Breaking: Change `testWdigets` to `f-testWidgets` to better align with function snippets** |
| 81 | +- Support for `group` test function `f-group` |
| 82 | +- Support for app localisation import `importAL` |
| 83 | +- Support for Flutter 3 |
| 84 | + - Migrate to super initialisers |
| 85 | + - Not on Flutter 3? The Flutter 2.xx branch is up to date and ready for you :) |
| 86 | +- Fixed Lint issue - Added `const` to applicable widgets |
| 87 | + |
66 | 88 | ### 3.0.3 |
67 | | -- Use State<T> createState on statefulW snippet (Thank you [@marcossevilla](https://github.com/Nash0x7E2/awesome-flutter-snippets/commit/b18505ae59128ce8c2ff4cc60100603dc11259d5)) |
| 89 | + |
| 90 | +- Use createState on statefulW snippet (Thank you [@marcossevilla](https://github.com/Nash0x7E2/awesome-flutter-snippets/commit/b18505ae59128ce8c2ff4cc60100603dc11259d5)) |
68 | 91 |
|
69 | 92 | ### 3.0.2 |
| 93 | + |
70 | 94 | - Removed trailing whitespaces (Thank you [@leoshusar](https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/45)) |
71 | 95 | - Make widgets default to Container only (Thank you [@Ascenio](https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/43)) |
72 | 96 |
|
73 | | - |
74 | 97 | ### 3.0.1 |
| 98 | + |
75 | 99 | - Support for `Listview.builder` |
76 | 100 | - Support for `GridView.count` |
77 | 101 | - Support for `GridView.extent` |
78 | 102 |
|
79 | 103 | ### 3.0.0 |
80 | | -- Update all widgets to null safety |
| 104 | + |
| 105 | +- Update all widgets to null safety |
81 | 106 | - Update engine to `1.56.0` |
82 | 107 |
|
83 | 108 | ### 2.0.4 |
| 109 | + |
84 | 110 | - Add Flutter test import (Thank you @arthurdenner https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/16) |
85 | 111 | - Support for unit and widget test functions (Thank you @TNorbury https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/20) |
86 | 112 | - Added support for Listview.Separated (Thank you @timilehinjegede https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/26) |
87 | 113 | - Fixed inheritedW (Thank you @ianwith https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/22) |
88 | 114 |
|
89 | 115 | ### 2.0.3 |
| 116 | + |
90 | 117 | - Support for `BehaviorSubject` (Thanks @sinadarvi https://github.com/Nash0x7E2/awesome-flutter-snippets/pull/7) |
91 | 118 | - Support for `TweenAnimationBuilder` |
92 | 119 | - Support for `ValueListenableBuilder` |
93 | 120 | - Fixed various bug fixes and typos |
94 | 121 |
|
95 | 122 | ### 2.0.2 |
96 | | -- Resolved issue [#6](https://github.com/Nash0x7E2/awesome-flutter-snippets/issues/6) |
97 | 123 |
|
98 | | -### 2.0.1 |
| 124 | +- Resolved issue [#6](https://github.com/Nash0x7E2/awesome-flutter-snippets/issues/6) |
| 125 | + |
| 126 | +### 2.0.1 |
| 127 | + |
99 | 128 | - Removed Stateful and Statless Widget since they are included with DartCode. |
100 | 129 | - Added Material App. |
101 | 130 | - Added Cupertino App. |
102 | 131 |
|
103 | | -### 2.0.0 |
| 132 | +### 2.0.0 |
| 133 | + |
104 | 134 | - Changed prefixes to use a keyword associated with the widget/function (in camel case) |
105 | | -- Bug fixes |
| 135 | +- Bug fixes |
106 | 136 |
|
107 | 137 | ### 1.0.6 |
| 138 | + |
108 | 139 | - Added support for debug print |
109 | | -- Added support for to string |
110 | | -- Added support for importing Cupertino package |
| 140 | +- Added support for to string |
| 141 | +- Added support for importing Cupertino package |
111 | 142 | - Added support for importing Material package (PR #2) |
112 | 143 | - Added child logic to Stateless and Stateful widgets snippets (PR #3) |
113 | 144 |
|
114 | | -### 1.0.5 |
115 | | -Critical bug fixes: |
116 | | -- Adjusted tab stops to improve efficiency and workflow |
117 | | -- Removed blank Containers from builders in favor of a tab stop with semi-colon |
118 | | -- Added trailing comma at the end of child parameter |
| 145 | +### 1.0.5 |
| 146 | + |
| 147 | +Critical bug fixes: - Adjusted tab stops to improve efficiency and workflow - Removed blank Containers from builders in favor of a tab stop with semi-colon - Added trailing comma at the end of child parameter |
119 | 148 |
|
120 | 149 | ### 1.0.4 |
121 | | -- Fixed formatting |
122 | | -- Removed unused tabs |
123 | | -- Corrected spelling errors |
124 | 150 |
|
| 151 | +- Fixed formatting |
| 152 | +- Removed unused tabs |
| 153 | +- Corrected spelling errors |
125 | 154 |
|
126 | 155 | ### 1.0.3 |
127 | | -Added support for: |
128 | | -- Stream |
129 | | -- Sink |
130 | | -- Inherited Widget |
131 | | -- Mounted |
132 | | -- NoSuchMethod |
133 | | - |
134 | | - |
135 | | -### 1.0.2 |
136 | | -Added support for: |
137 | | -- Stateful Builder |
138 | | -- Orientation Builder |
139 | | -- Layout Builder |
140 | | -- Single Child Scroll View |
141 | | -- Future Builder |
142 | | - |
143 | | - |
144 | | -## 1.0.1 |
145 | | -Added support for: |
146 | | -- Stream Builder |
147 | | -- Animated Builder |
148 | | -- Custom Scroll View |
149 | | -- Listview.Builder |
| 156 | + |
| 157 | +Added support for: - Stream - Sink - Inherited Widget - Mounted - NoSuchMethod |
| 158 | + |
| 159 | +### 1.0.2 |
| 160 | + |
| 161 | +Added support for: - Stateful Builder - Orientation Builder - Layout Builder - Single Child Scroll View - Future Builder |
| 162 | + |
| 163 | +## 1.0.1 |
| 164 | + |
| 165 | +Added support for: - Stream Builder - Animated Builder - Custom Scroll View - Listview.Builder |
150 | 166 |
|
151 | 167 | ### 1.0.0 |
152 | | -Initial release of Awesome Flutter Snippets |
| 168 | + |
| 169 | +Initial release of Awesome Flutter Snippets |
0 commit comments