Skip to content

Chip

Compact labeled elements for tags and filters.

Installation

bash
flutter_studio add chip
bash
flutter pub add flutter_studio

Usage

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

PropertyTypeDefaultDescription
labelStringrequiredChip label
iconIconData?nullLeading icon
onRemoveVoidCallback?nullRemove callback