Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Dart Enum Extension GeneratorNew to Visual Studio Code? Get it now.
Dart Enum Extension Generator

Dart Enum Extension Generator

Pavluke

|
14 installs
| (0) | Free
A VS Code extension that generates useful Dart enum extension with methods like `when`, `maybeWhen`, and `whenOrNull`, simplifying repetitive code and improving readability.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dart Enum Extension Generator

An extension for Visual Studio Code that automatically generates useful extension methods for Dart enums, enhancing productivity and code consistency.

gen

Features

Effortlessly generate the following extension methods for your Dart enums:

  • is Getters: Automatically create getter methods to check enum values.
  • when: Execute a function based on the enum value.
  • maybeWhen: Execute a function with a fallback for enum values.
  • whenOrNull: Execute a function that can return null based on the enum value.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft