Skip to content

Add snippet to import the flutter_test package #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 5, 2020
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 @@ -38,6 +38,7 @@ Awesome Flutter Snippets is a collection of commonly used Flutter classes and me
| `debugP` | Debug Print | Prints a message to the console, which you can access using the flutter tool's `logs` command (flutter logs). |
| `importM` | Material Package | Import Material package.
| `importC` | Cupertino Package | Import Cupertino package.
| `importFT` | flutter_test Package | Import flutter_test package.
| `mateapp` | Material App | Create a new Material App.
| `cupeapp` | Cupertino Package | Create a New Cupertino App.
| `tweenAnimationBuilder` | Tween Animation Builder | Widget builder that animates a property of a Widget to a target value whenever the target value changes.
Expand Down
5 changes: 5 additions & 0 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@
"body": "import 'package:flutter/cupertino.dart';",
"description": "Import Flutter Cupertino package"
},
"flutter_test Package": {
"prefix": "importFT",
"body": "import 'package:flutter_test/flutter_test.dart';",
"description": "Import flutter_test package"
},
"Material App": {
"prefix": "mateapp",
"description": "Create a MaterialApp",
Expand Down