TableView<T> constructor
const
TableView<T> ({
- List<
T> ? tableDatas = const [], - required BuildRowStyle buildRowStyle,
- bool enableTopDivider = false,
- bool enableBottomDivider = false,
- bool enableDivider = false,
- PreDealData? preDealData,
- bool shrinkWrap = true,
- Color dividerColor = Colors.black,
- double dividerHeight = 1,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController? controller,
- ScrollPhysics? physics,
- EdgeInsetsGeometry? padding,
- bool addAutomaticKeepAlive = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- double? cacheExtent,
- bool doubleScroll = false,
- ScrollBehavior? behavior,
- BuildTableHeaderStyle? buildTableHeaderStyle,
- double minCellWidth = 50,
- List<
double> ? cellWidthFlex, - int cellColumnCount = 1,
- ScrollController? titleScrollController,
- ScrollController? contentScrollController,
- Key? key,
Implementation
const TableView(
{this.tableDatas = const [],
required this.buildRowStyle,
this.enableTopDivider = false,
this.enableBottomDivider = false,
this.enableDivider = false,
this.preDealData,
this.shrinkWrap = true,
this.dividerColor = Colors.black,
this.dividerHeight = 1,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.controller,
this.physics,
this.padding,
this.addAutomaticKeepAlive = true,
this.addRepaintBoundaries = true,
this.addSemanticIndexes = true,
this.cacheExtent,
this.doubleScroll = false,
this.behavior,
this.buildTableHeaderStyle,
this.minCellWidth = 50,
this.cellWidthFlex,
this.cellColumnCount = 1,
this.titleScrollController,
this.contentScrollController,
Key? key})
: super(key: key);