Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>getblocNew to Visual Studio Code? Get it now.
getbloc

getbloc

Eronildo Cavalcanti

|
635 installs
| (1) | Free
Support for the GetBloc library and provides tools for effectively creating GetX controllers with BLoC pattern for Flutter apps.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GetBloc


Overview

VSCode support for the GetBloc and provides tools for effectively creating GetX Controllers for Flutter apps.

Installation

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

Commands

Command Description
GetBloc: New Binding Module Generate a new GetX Binding Module Structure
GetBloc: New Module Generate a new Module Structure
GetBloc: New Controller Generate a new Controller
GetBloc: New State Controller Generate a new StateController

You can activate the commands by launching the command palette (View -> Command Palette) and running entering the command name or you can right click on the directory in which you'd like to create the Controller/StateController and select the command from the context menu.

Code Actions

Action Description
Wrap with Obx Wraps current widget in a Obx
Wrap with ListenerWidget Wraps current widget in a ListenerWidget

Snippets

Shortcut Description
importgetbloc Imports package:getbloc
importgetbloctest Imports package:getbloc_test
controller Creates a Controller class
statecontroller Creates a StateController class
observercontroller Creates a ObserverController class
listenerwidget Creates a Listener Widget
controllerstate Creates a state class
controllerevent Creates an event class
testcontroller Creates a testController
page Creates a page extending StatelessWidget
pagegetview Creates a page extending GetView
widget Creates a widget extending StatelessWidget
material or importM Imports a package:flutter/material.dart
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft