Skip to content

Commit

Permalink
update widget test prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nash0x7E2 committed Jul 2, 2020
1 parent fc0bdae commit 84ce0a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Awesome Flutter Snippets is a collection of commonly used Flutter classes and me
| `tweenAnimationBuilder` | Tween Animation Builder | Widget builder that animates a property of a Widget to a target value whenever the target value changes.
| `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.
| `f-test` | Test | Create a test function.
| `f-testWidgets` | Test Widgets | Create a testWidgets function.
| `widgetTest` | Test Widgets | Create a testWidgets function.

<br>

Expand Down
2 changes: 1 addition & 1 deletion snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
"description": "Create a test function"
},
"Test Widgets": {
"prefix": "f-testWidgets",
"prefix": "widgetTest",
"body": [
"testWidgets(",
" \"${1:test description}\",",
Expand Down

0 comments on commit 84ce0a3

Please sign in to comment.