Chip
Compact labeled elements for tags and filters.
Installation
bash
flutter_studio add chipbash
flutter pub add flutter_studioUsage
dart
// Simple chip
CustomChip(
label: 'Flutter',
)
// With icon
CustomChip(
label: 'Verified',
icon: Icons.check,
)
// Removable chip
CustomChip(
label: 'Tag',
onRemove: () {
// Handle removal
},
)API Reference
Properties
| Property | Type | Default | Description |
|---|---|---|---|
label | String | required | Chip label |
icon | IconData? | null | Leading icon |
onRemove | VoidCallback? | null | Remove callback |
