Giter Club home page Giter Club logo

flutter-dart-utils-vscode's Introduction

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

Installation

Flutter Utils can be installed from the VSCode Marketplace or by searching within VSCode.

Youtube movie for examples

Youtube (https://youtu.be/YlL0KJhDFEM)

Features Wrap With

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

Dart Snippets Usage

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

Flutter Snippets Usage

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

Aqueduct Snippets Usage

Shortcut Description
fu-aqu-operation Creates aqueduct operation
fu-aqu-serializable Creates aqueduct class serializable

Modular Snippets Usage

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

Modular3 Snippets Usage

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

Cubit Snippets Usage

Shortcut Description
fu-cubitot Override onTransition method
fu-cubitaction Create cubit function action

Mockito Snippets Usage

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

demo

Generate dart interface

demo

Generate dart class

demo

Implements dart interface

demo

Generate folders clean architecture for backend

demo

Generate folders clean architecture for flutter

demo

Generate folders 3-tiers architecture

demo

Generate folder for test

demo

Wrap with Consumer

demo

Wrap with ValueListenableBuilder

demo

Wrap with Builder

demo

Wrap with LayoutBuilder

demo

Requirements

Extension Settings

Known Issues

Release Notes

  • 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

flutter-dart-utils-vscode's People

Contributors

brasizza avatar griks-software avatar repoadf avatar rodrigorahman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.