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,
- 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,
Key? key})
: super(key: key);