Flutter Easy Project
An extension to make Flutter's application development more easier, changing the default project to selected pattern. In this version, only one patter is available, you will can build a MVVM project using MobX as a state controller and Flutter Modular as a navigation route and dependency injection controller.
"Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase." Flutter
After install this plugin from VSCode market place, follow the steps below.
How to use this step-by-step:
1 - Create a new flutter project
2 - Open VS Code Command Palette and write EasyProject set up
3 - Select the set up option
4 - Now, your project was configurated
5 - To add other components, just see the EasyProject's command group inside VS Code command palette
6 - Build your application using the following command:
flutter pub run build_runner watch --delete-conflicting-outputs
7 - Enjoy
Snippets:
Now you can use code snippets to speed up your development.
Shortcut |
Expanded |
animatedBldr |
Animated Builder |
cclipper |
Custom Clipper |
cpainter |
Custom Painter |
cscrollv |
Custom ScrollView |
cupeapp |
Cupertino Package |
debugP |
Debug Print |
didcd |
didChangeDependencies |
diduW |
didUpdateWidget |
dis |
Dispose |
f-test |
Test |
futureBldr |
Future Builder |
inheritedW |
Inherited Widget |
istate |
InitState |
importM |
Material Package |
importC |
Cupertino Package |
importFT |
flutter_test Package |
layoutBldr |
Layout Builder |
lvb |
ListView.Builder |
lvs |
ListView.Separated |
mateapp |
Material App |
mbuild |
Build Method |
mounted |
Mounted |
nosm |
No Such Method |
orientationBldr |
Orientation Builder |
reassemble |
Reassemble |
singleChildSV |
Single Child Scroll View |
snk |
Sink |
statel |
Stateless Widget |
statef |
Stateful Widget |
statefulBldr |
Stateful Builder |
streamBldr |
Stream Builder |
strm |
Stream |
subj |
Subject |
toStr |
To String |
tweenAnimationBuilder |
Tween Animation Builder |
valueListenableBuilder |
Value Listenable Builder |
widgetTest |
Test Widgets |
Commands:
Project set Up
- Setup the project with the selected pattern
Add a Feature
- Create a feature inside the configured project
All other commands will create objects inside of the selected feature
Comming soon:
- More code snippets to increase development speed
- New design patterns
You can clone this extension source code at: https://github.com/rennanpossas/flutter-easy-project
Help me to make it better for us!!
Copyright 2020 Rennan Possas
Copyright 2020 Neevash Ramdial
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.