flutter-dart-utils README
Extension that assists in the creation of tests, interfaces, classes and to work with clean architecture, 3-tiers or MVC having the possibility to create features and create tests folder.
Dart Snippets
Flutter Snippets
Modular Snippets
Modular3 Snippets
Mobx Snippets
Cubit Snippets
flutter_bloc Snippets
Mockito Snippets
GetX Snippets
Shelf Snippets
Flutter Utils can be installed from the VSCode Marketplace or by searching within VSCode .
Youtube movie for examples
Youtube (https://youtu.be/YlL0KJhDFEM )
Important!!!
Select the full widget to find these options
Features Wrap With
Wrap with LayoutBuilder
Wrap with Builder
Wrap with ValueListenableBuilder
Wrap with Consumer
Wrap with MobX Observer
Wrap with Obx
Wrap with Getx
Menu Features:
Menu Features
Clean Arch.: New Feature Backend
Clean Arch.: New Feature Flutter
3-Tiers Back: New Feature
Create Dart Interface
Create Dart Class
Create Stateless Widget
Create Stateful Widget
GetX: New Feature
Flutter Modular: New Feature
Shortcut
Description
fu-freezed
Creates a Freezed class
fu-freezed-json-serializable
Creates a Freezed with JsonSerializable
fu-interface
Creates a Interfaces
fu-class-interface
Creates a Classes with interface
fu-callable-class
Create a Callable Classes
fu-d-test-init
Create a dart tests
fu-class
Create class with file name
fu-class-singleton
Create a singleton class with file name
fu-class-equatable
Create class with file name and add Equatable
fu-constructor
Create constructor with file name based
fu-private-constructor
Create private constructor with file name based
fu-static-attribute
Create static atribute in class
fu-seconds-delay
Create Future.delayed in seconds
fu-milliseconds-delay
Create Future.delayed in milliseconds
Shortcut
Description
fu-stl
Create StatelessWidget with Scaffold and AppBar
fu-stf
Create StatefulWidget with Scaffold and AppBar
fu-f-test-init
Create a dart tests
fu-change-notifier
Create change notifier class
fu-value-notifier
Create ValueNotifier
fu-text-editing-controller
Create TextEditingController
fu-separator
Create SizedBox separator
fu-form-key
Create formKey GlobalKey
Shortcut
Description
fu-aqu-operation
Creates aqueduct operation
fu-aqu-serializable
Creates aqueduct class serializable
Shortcut
Description
fu-modular-router-child
Creates router with page
fu-modular-router
Creates router module
fu-modular-initial-router-module
Creates router module with Modular.initialRoute
fu-modular-initial-router-child
Creates router page with Modular.initialRoute
fu-modular-bind
Create Bind for modular
fu-modular_codegen_inject
Modular codegen inject
fu-modular_module
Create Module
Shortcut
Description
fu-modular3-router-child
Creates router with page
fu-modular3-router
Creates router module
fu-modular3-initial-router-child
Creates router page with Modular.initialRoute
fu-modular3-bind-factory
Create Bind Factory for modular
fu-modular3-bind-instance
Create Bind Instance for modular
fu-modular3-bind-singleton
Create Bind Singleton for modular
fu-modular3-bind-lazySingleton
Create Bind Lazy Singleton for modular with interface
fu-modular3-bind-factory-interface
Create Bind Factory for modular with interface
fu-modular3-bind-instance-interface
Create Bind Instance for modular with interface
fu-modular3-bind-singleton-interface
Create Bind Singleton for modular with interface
fu-modular3-bind-lazySingleton-interface
Create Bind Lazy Singleton for modular with interface
fu-modular3_module
Create Module
Flutter Bloc Snippets Usage
Shortcut
Description
fu-bloctransform
Override transformEvents method
Shortcut
Description
fu-cubitot
Override onTransition method
fu-cubitaction
Create cubit function action
Shortcut
Description
fu-test-when-async
Add when mockito async
fu-test-when
Add when mockito sync
fu-test-when-throw
Add when mockito sync
fu-test-mock
Create a mock class
Flutter Provider Snippets Usage
Shortcut
Description
fu-provider-watch
context.watch
fu-provider-read
context.watch
fu-provider-select
context.select
Flutter GetX Snippets Usage
Shortcut
Description
fu-getxbinding
Create Binding
fu-getxcontroller
Create Controller
fu-getxrx
Create Rx variable
fu-getxobs
Create .obs variable
fu-getxoninit
Create onInit method
fu-getxonclose
Create onClose method
fu-getxpage
Create Page with GetView
Shelf/Shelf-Router Snippets Usage
Shortcut
Description
fu-shelf-controller
Create Controller with shelf-router
fu-shelf-operation
Create Rest Operation
Generate folders for MVC architecture
Implements dart interface
Generate folders clean architecture for backend
Generate folders clean architecture for flutter
Generate folders 3-tiers architecture
Wrap with ValueListenableBuilder
0.0.34 - Add snippets for mockito
0.0.35 - Restructuring clean architecture folder generation
0.0.36 - New mockito snippet
0.0.39 - 3-Tiers Folders
0.0.40 - Bug fix StatefulWidget generate
0.0.41 - Bug fix Implements Interface
0.0.42 - Bug fix folder for clean architecture
0.0.44 - Add news modular snipets
0.0.45 - MVC new features
0.0.46
Add Wrap with Consumer(Provider) and ValueListenableBuilder
New Snippets ChangeNotifier
New Snippets ValueNotifier
Change Snippets Modular
0.0.56 - Add Provider Snippets
0.0.57 - Add Flutter Snippet TextEditingController
0.0.59 - Add GetX Snippets
0.0.63 - Add Wrap with Observer(MobX)
0.0.64 - Add Shelf Snippets
0.0.65 - Bugfix Shelf controller Snippets
0.0.66 - Add new snippets from GetX
0.0.67 - Add new snippets from GetX GetView
0.0.68 - Add new snippets from Modular3
0.0.71 - GetX create new feature
0.0.73 - Mysql Connection template
0.0.74 - New snippets of test
0.0.75 - Bugfix - snippets group test
0.0.76 - Code Review, refatoring and add new features
0.0.77 - Bugfix on windows system
0.0.78 - Bugfix on windows system for implementation interface
0.0.79 - Add wrap with Obx e GetX
0.0.81 - Constructor snippet, and bugfix any snippets
0.0.82 - Change snippets Flutter modular 3
0.0.83 - Mobx Snippets
0.0.84 - Add new snippet (private constructor)
0.0.85 - Add new snippet (class exception)
0.0.86 - bugfix mobxstore generate
0.0.89 - add key on flutter snippets
0.0.91 - add 'const' in flutter e getx snippets
0.0.92 - add Create Stateless Widget e Create Stateful Widget on menu
0.0.93 - add 'const' in getxPage snippets
0.0.94 - add template to create static attributes
0.0.95 - add template to create SizedBox separator
0.0.96 - add template to create GlobalKey
0.0.97 - lint fix createState (library_private_types_in_public_api)
0.0.98 - lint fix MobxStore (library_private_types_in_public_api)
0.0.103 - Fix create commands
0.0.104 - Add new snippets dart
0.0.105 - Create a new snippet to create singleton class