Segment<T> constructor

const Segment<T>({
  1. required T value,
  2. required String label,
  3. IconData? icon,
  4. String? tooltip,
  5. bool enabled = true,
})

Implementation

const Segment({
  required this.value,
  required this.label,
  this.icon,
  this.tooltip,
  this.enabled = true,
});