SwayzeHeaderData constructor
Implementation
const SwayzeHeaderData({
required this.index,
required this.extent,
required this.hidden,
}) : assert(
(hidden == true) || (extent != null),
'A SwayzeHeaderData either has to be hidden or have a custom extent',
);