SegSingleBtn<T> constructor
- {Key? key,
- ButtonStyle? style,
- required void onSelect(
- T res
- required List<
({Icon? icon, String label, T value})> segments, - required T initialSelection}
Implementation
const SegSingleBtn(
{super.key,
this.style,
required this.onSelect,
required this.segments,
required this.initialSelection});