ButtonSegment<T> constructor
Construct a ButtonSegment.
Implementation
const ButtonSegment({
required this.value,
this.icon,
this.label,
this.tooltip,
this.enabled = true,
}) : assert(icon != null || label != null);
Construct a ButtonSegment.
const ButtonSegment({
required this.value,
this.icon,
this.label,
this.tooltip,
this.enabled = true,
}) : assert(icon != null || label != null);