SwayzeHeaderData constructor

const SwayzeHeaderData({
  1. required int index,
  2. required double? extent,
  3. required bool hidden,
})

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',
      );