Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>FlutterBlocGeneratorNew to Visual Studio Code? Get it now.
FlutterBlocGenerator

FlutterBlocGenerator

Patrick Beaino

|
36 installs
| (0) | Free
A simple and efficient way to scaffold BLoC components in your Flutter project. This extension generates the necessary files (bloc, event, and state) with clean, customizable templates, helping you save time and focus on building features. Perfect for developers using the Flutter BLoC architecture.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FlutterBlocGenerator

FlutterBlocGenerator is a simple and efficient way to scaffold BLoC components in your Flutter project. This extension generates the necessary files (bloc, event, and state) with clean, customizable templates, helping you save time and focus on building features.

Features

  • Quickly generate BLoC files in a structured folder.
  • Supports right-click menu integration for easy access.
  • Customizable templates for BLoC, Event, and State files.

Usage

  1. Right-click on a folder in the VS Code Explorer.
  2. Select "New Flutter BLoC" from the context menu.
  3. Enter the name for your BLoC (e.g., TransactionBloc).
  4. The extension will generate:
    • A folder named transaction_bloc.
    • Files:
      • transaction_bloc.dart
      • transaction_event.dart
      • transaction_state.dart.

Commands

  • New Flutter BLoC: Generate a new Flutter BLoC.

Requirements

  • This extension requires VS Code version 1.95.0 or higher.

Known Issues

  • None at this time.

Release Notes

0.0.1

  • Initial release with BLoC file generation and context menu integration.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft