Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Flutter Widget CounterNew to Visual Studio Code? Get it now.
Flutter Widget Counter

Flutter Widget Counter

Muhammad Hanan

|
2 installs
| (0) | Free
Counts Flutter widgets (Container, SizedBox, InkWell, etc.) in the current Dart file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Flutter Widget Counter

Counts Flutter widgets (Container, SizedBox, InkWell, etc.) in the active Dart file.

Features

  • Status bar summary of total + top widgets
  • Side panel list (Widget Counts)
  • Highlights occurrences when clicked
  • Configurable tracked widgets

Commands

  • Widget Counter: Show Panel
  • Widget Counter: Copy Counts

Settings

  • widgetCounter.track: array of widget names
  • widgetCounter.trackAllConstructors: boolean
  • widgetCounter.debounceMs: number

Requirements

VS Code 1.90+ and Flutter/Dart extensions for best experience.

Release Notes

See CHANGELOG.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft