WrapHeaderBuilder typedef

WrapHeaderBuilder = Widget Function(BuildContext context, ViewportContext viewportContext, Axis axis, Widget child)

A builder that builds a widget that wraps the headers of SliverSwayzeTable.

The header is where the identifier for columns and rows are rendered.

The result widget should contain the passed child which is the actual header widgets.

Use viewportContext to transform a pixel position into a cell coordinate and vice versa.

Use axis to define if this is wrapping the columns header (horizontal) or rows header (vertical).

See also:

Implementation

typedef WrapHeaderBuilder = Widget Function(
  BuildContext context,
  ViewportContext viewportContext,
  Axis axis,
  Widget child,
);