PrismSegment<T> constructor

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

Creates a segment.

Implementation

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