TableViewExtend<T> constructor
const
TableViewExtend<T> ({
- List<
T> ? tableDatas = const [], - BoxDecoration? bodyDecoration,
- BoxDecoration? headerDecoration,
- bool enableDivider = false,
- bool gridDivider = false,
- PreDealData<
T> ? preDealData, - bool shrinkWrap = true,
- Color dividerColor = Colors.black,
- double dividerSize = 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 enableFixHeaderColumn = false,
- bool enableFixFootColumn = false,
- ScrollBehavior? behavior,
- HandlerControllerCallBack? handlerControllerCallBack,
- required BuildRowStyle buildRowStyle,
- BuildTableHeaderStyle? buildTableHeaderStyle,
- BuildRowStyle? fixHeaderRowStyle,
- BuildTableHeaderStyle? buildFixHeaderTableHeaderStyle,
- BuildRowStyle? fixFootRowStyle,
- BuildTableHeaderStyle? buildFixFootTableHeaderStyle,
- double minCellWidth = 50,
- List<
double> ? cellWidthFlex, - List<
double> ? fixCellHeaderWidthFlex, - List<
double> ? fixCellFootWidthFlex, - Key? key,
Implementation
const TableViewExtend(
{ this.tableDatas = const [],
this.bodyDecoration,
this.headerDecoration,
this.enableDivider = false,
this.gridDivider = false,
this.preDealData,
this.shrinkWrap = true,
this.dividerColor = Colors.black,
this.dividerSize = 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.enableFixHeaderColumn = false,
this.enableFixFootColumn = false,
this.behavior,
this.handlerControllerCallBack,
required this.buildRowStyle,
this.buildTableHeaderStyle,
this.fixHeaderRowStyle,
this.buildFixHeaderTableHeaderStyle,
this.fixFootRowStyle,
this.buildFixFootTableHeaderStyle,
this.minCellWidth = 50,
this.cellWidthFlex,
this.fixCellHeaderWidthFlex,
this.fixCellFootWidthFlex,
Key? key})
: super(key: key);