RawTableLayout constructor

const RawTableLayout({
  1. Key? key,
  2. List<Widget> children = const <Widget>[],
  3. required TableSizeSupplier width,
  4. required TableSizeSupplier height,
  5. required Clip clipBehavior,
  6. CellPredicate? frozenColumn,
  7. CellPredicate? frozenRow,
  8. double? verticalOffset,
  9. double? horizontalOffset,
  10. Size? viewportSize,
})

Creates a RawTableLayout.

Parameters:

  • children (List<Widget>, optional): Table cell widgets.
  • width (TableSizeSupplier, required): Column width supplier.
  • height (TableSizeSupplier, required): Row height supplier.
  • clipBehavior (Clip, required): Content clipping behavior.
  • frozenColumn (CellPredicate?, optional): Frozen column predicate.
  • frozenRow (CellPredicate?, optional): Frozen row predicate.
  • verticalOffset (double?, optional): Vertical scroll offset.
  • horizontalOffset (double?, optional): Horizontal scroll offset.
  • viewportSize (Size?, optional): Viewport size for scrolling.

Implementation

const RawTableLayout({
  super.key,
  super.children,
  required this.width,
  required this.height,
  required this.clipBehavior,
  this.frozenColumn,
  this.frozenRow,
  this.verticalOffset,
  this.horizontalOffset,
  this.viewportSize,
});