Pill constructor
const
Pill({
- Key? key,
- required String label,
- String? value,
- ValueChanged<
String> ? onValueChanged,
Creates a Pill widget.
The label parameter is required.
If value is null, the pill will display only the label.
Implementation
const Pill({super.key, required this.label, this.value, this.onValueChanged});