antrophiclove
← Kütüphaneye dön
Kurulum
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/create-widget/raw -o .claude/commands/create-widget.md

Hedef dosya: .claude/commands/create-widget.md

---
name: create-widget
description: Create a Flutter widget with proper state management and Material/Cupertino design.
---

Create a Flutter widget with proper state management and Material/Cupertino design.

## Steps


1. Define the widget requirements:
2. Choose the widget type:
3. Implement the widget:
4. Apply theming:
5. Add responsiveness:
6. Add animations if needed:
7. Write widget tests using testWidgets.

## Format


```
Widget: <name>
Type: <Stateless|Stateful>
Parameters:
  - <name>: <type> (<required|optional>)
```


## Rules

- Use const constructors whenever possible.
- Follow Flutter naming conventions (PascalCase for widgets).
- Extract complex build methods into separate widgets.