getHeaderControllerFor method
Retrieve a SwayzeHeaderController for a particular axis
.
Axis.horizontal will return columns Axis.vertical will return rows
Implementation
SwayzeHeaderController getHeaderControllerFor({required Axis axis}) {
return axis == Axis.horizontal ? columns : rows;
}