SegmentedButton<T> constructor

const SegmentedButton<T>({
  1. Key? key,
  2. required List<Segment<T>> segments,
  3. required Set<T> selected,
  4. required ValueChanged<Set<T>>? onChanged,
  5. bool multiSelect = false,
  6. SegmentSize size = SegmentSize.medium,
  7. bool showSelectedIcon = true,
  8. bool enabled = true,
})

Implementation

const SegmentedButton({
  super.key,
  required this.segments,
  required this.selected,
  required this.onChanged,
  this.multiSelect = false,
  this.size = SegmentSize.medium,
  this.showSelectedIcon = true,
  this.enabled = true,
});