WrapTableBodyBuilder typedef
WrapTableBodyBuilder =
Widget Function(BuildContext context, ViewportContext viewportContext, Widget child)
A builder that builds a widget that wraps the main area of SliverSwayzeTable.
The table body is where the cells and the lines separating the cells are rendered.
The result widget should contain the passed child
which is the table body
content of the table.
Use viewportContext
to transform a pixel position into a cell coordinate
and vice versa.
See also:
- SliverSwayzeTable.wrapTableBody
TableBody
that contains the caller for this builder.
Implementation
typedef WrapTableBodyBuilder = Widget Function(
BuildContext context,
ViewportContext viewportContext,
Widget child,
);