CalseeSegmented<T> constructor

const CalseeSegmented<T>({
  1. required List<(T, String)> options,
  2. required T? selected,
  3. required ValueChanged<T>? onChanged,
  4. double height = 48,
  5. double spacing = 6,
  6. double sizeFactor = 0.34,
  7. Key? key,
})

Segments for options: each a value and its label.

Implementation

const CalseeSegmented({
  required this.options,
  required this.selected,
  required this.onChanged,
  this.height = 48,
  this.spacing = 6,
  this.sizeFactor = 0.34,
  super.key,
});