Chip constructor
Chip(
- String label, {
- String? icon,
- bool selected = false,
- ColorToken? backgroundColor,
- ColorToken? textColor,
- double borderRadius = 8,
- bool disabled = false,
- Object? onTap,
- String? name,
- Object? visible,
Implementation
Chip(
this.label, {
this.icon,
this.selected = false,
this.backgroundColor,
this.textColor,
this.borderRadius = 8,
this.disabled = false,
Object? onTap,
String? name,
Object? visible,
}) : onTap = normalizeActionSequence(onTap, parameterName: 'onTap'),
super(name: name, visible: _normalizeVisibility(visible));