TableView constructor
const
TableView({
- Key? key,
- bool? primary,
- Axis mainAxis = Axis.vertical,
- ScrollableDetails verticalDetails = const ScrollableDetails.vertical(),
- ScrollableDetails horizontalDetails = const ScrollableDetails.horizontal(),
- @Deprecated('Use scrollCacheExtent instead. ' 'This feature was deprecated after v3.41.0-0.0.pre.') double? cacheExtent,
- required TableCellDelegateMixin delegate,
- DiagonalDragBehavior diagonalDragBehavior = DiagonalDragBehavior.none,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
- Clip clipBehavior = Clip.hardEdge,
- 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;