ModulaChip constructor
const
ModulaChip({
- required String label,
- Key? key,
- ModulaChipType type = ModulaChipType.static,
- bool selected = false,
- ValueChanged<
bool> ? onSelected, - VoidCallback? onDeleted,
- Widget? avatar,
- IconData? icon,
- Color? backgroundColor,
- Color? selectedColor,
- Color? labelColor,
- TextStyle? labelStyle,
- double elevation = 0,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
- double borderRadius = 16.0,
- double? width,
Implementation
const ModulaChip({
required this.label,
super.key,
this.type = ModulaChipType.static,
this.selected = false,
this.onSelected,
this.onDeleted,
this.avatar,
this.icon,
this.backgroundColor,
this.selectedColor,
this.labelColor,
this.labelStyle,
this.elevation = 0,
this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
this.borderRadius = 16.0,
this.width,
});