basicChip method
Widget
basicChip({
- Key? key,
- ChipStyle? style,
- bool selected = false,
- ValueChanged<
bool> ? onSelected,
Creates a lightweight BasicChip with this string as its label.
Implementation
Widget basicChip({
Key? key,
ChipStyle? style,
bool selected = false,
ValueChanged<bool>? onSelected,
}) {
return BasicChip(
key: key,
label: this,
style: style,
selected: selected,
onSelected: onSelected,
);
}