Chip constructor
const
Chip({
- Key? key,
- Widget? image,
- Widget? text,
- VoidCallback? onPressed,
- String? semanticLabel,
Creates a normal chip.
Implementation
const Chip({
Key? key,
this.image,
this.text,
this.onPressed,
this.semanticLabel,
}) : _type = _ChipType.normal,
super(key: key);