ExpressiveChip.input constructor
const
ExpressiveChip.input(
- String label, {
- bool selected = false,
- VoidCallback? onPressed,
- ExpressiveComponentThemeData? style,
- VoidCallback? onDeleted,
- String? deleteLabel,
- Widget? avatar,
- IconData? icon,
- bool morph = false,
- bool enabled = true,
- Key? key,
- FocusNode? focusNode,
- bool autofocus = false,
An input chip.
Implementation
const ExpressiveChip.input(
this.label, {
this.selected = false,
this.onPressed,
this.style,
this.onDeleted,
this.deleteLabel,
this.avatar,
this.icon,
this.morph = false,
this.enabled = true,
super.key,
this.focusNode,
this.autofocus = false,
}) : _kind = _ChipKind.input,
trailingIcon = null,
elevated = false;