TableView constructor

const TableView({
  1. Key? key,
  2. bool? primary,
  3. Axis mainAxis = Axis.vertical,
  4. ScrollableDetails verticalDetails = const ScrollableDetails.vertical(),
  5. ScrollableDetails horizontalDetails = const ScrollableDetails.horizontal(),
  6. @Deprecated('Use scrollCacheExtent instead. ' 'This feature was deprecated after v3.41.0-0.0.pre.') double? cacheExtent,
  7. required TableCellDelegateMixin delegate,
  8. DiagonalDragBehavior diagonalDragBehavior = DiagonalDragBehavior.none,
  9. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  10. ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  11. Clip clipBehavior = Clip.hardEdge,
  12. AlignmentGeometry alignment = Alignment.topLeft,
})

Creates a TableView that scrolls in both dimensions.

A non-null delegate must be provided.

Implementation

const TableView({
  super.key,
  this.primary,
  this.mainAxis = Axis.vertical,
  this.verticalDetails = const ScrollableDetails.vertical(),
  this.horizontalDetails = const ScrollableDetails.horizontal(),
  @Deprecated(
    'Use scrollCacheExtent instead. '
    'This feature was deprecated after v3.41.0-0.0.pre.',
  )
  this.cacheExtent,
  required this.delegate,
  this.diagonalDragBehavior = DiagonalDragBehavior.none,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior,
  this.clipBehavior = Clip.hardEdge,
  this.alignment = Alignment.topLeft,
}) : _isInternalDelegate = false;