home / skills / ehtbanton / claudeskillsrepo / flutter-widget-generator
This skill generates complete Flutter widget Dart files with state management and theming for immediate use
npx playbooks add skill ehtbanton/claudeskillsrepo --skill flutter-widget-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: flutter-widget-generator
description: Generate Flutter widget files with Dart, state management, and theming. Triggers on "create flutter widget", "generate flutter component", "dart widget", "flutter screen".
---
# Flutter Widget Generator
Generate Flutter Dart widgets with proper state management and theming.
## Output Requirements
**File Output:** `*.dart` widget files
**Format:** Valid Dart/Flutter
**Standards:** Flutter 3.x, Dart 3.x
## When Invoked
Immediately generate a complete Flutter widget with state and theming.
## Example Invocations
**Prompt:** "Create Flutter button widget"
**Output:** Complete `custom_button.dart` with variants and animations.
This skill generates complete Flutter widget files in Dart, including state management and theming integration. It produces ready-to-use .dart components following Flutter 3.x and Dart 3.x standards. Triggers include phrases like "create flutter widget", "generate flutter component", "dart widget", and "flutter screen".
On invocation, the skill creates a valid .dart file containing a widget class, associated state handling (StatefulWidget or stateless alternatives), and theme-aware styling. It includes common patterns such as Provider, Riverpod, or simple ValueNotifier-based state where appropriate, plus responsive layout and accessibility hints. The output is formatted for immediate use in a Flutter project and adheres to current language and framework conventions.
What file format does the skill output?
It outputs complete .dart files formatted as valid Flutter widgets.
Which Flutter and Dart versions are targeted?
Generated code targets Flutter 3.x and Dart 3.x conventions.
Can I request a specific state management approach?
Yes — include the preferred state pattern in your prompt and the output will follow it.