PrismSegmentedControl<T> constructor
- Key? key,
- required T value,
- required List<
PrismSegment< segments,T> > - required ValueChanged<
T> ? onChanged, - double? scrollThreshold,
- String? semanticLabel,
- bool showCheckmark = true,
Creates a segmented control.
Implementation
const PrismSegmentedControl({
super.key,
required this.value,
required this.segments,
required this.onChanged,
this.scrollThreshold,
this.semanticLabel,
this.showCheckmark = true,
});