HorizontalDataTable.rtl constructor
HorizontalDataTable.rtl({
- required double leftHandSideColumnWidth,
- required double rightHandSideColumnWidth,
- double? tableHeight,
- bool isFixedHeader = false,
- List<
Widget> ? headerWidgets, - Widget leftSideItemBuilder()?,
- Widget rightSideItemBuilder()?,
- int itemCount = 0,
- List<
Widget> ? leftSideChildren, - List<
Widget> ? rightSideChildren, - Widget rowSeparatorWidget = const Divider(color: Colors.transparent, height: 0.0, thickness: 0.0),
- double elevation = 3.0,
- Color elevationColor = Colors.black54,
- Color leftHandSideColBackgroundColor = Colors.white,
- Color rightHandSideColBackgroundColor = Colors.white,
- OnScrollControllerReady? onScrollControllerReady,
- ScrollbarStyle? verticalScrollbarStyle,
- ScrollbarStyle? horizontalScrollbarStyle,
- bool enablePullToRefresh = false,
- double refreshIndicatorHeight = 60.0,
- HDTRefreshController? htdRefreshController,
- Function? onRefresh,
- Widget? refreshIndicator,
- Widget? fixedSidePlaceHolderRefreshIndicator,
- bool enablePullToLoadNewData = false,
- Function? onLoad,
- LoadIndicator? loadIndicator,
- LoadIndicator? fixedSidePlaceHolderLoadIndicator,
- ScrollPhysics? scrollPhysics,
- ScrollPhysics? horizontalScrollPhysics,
- double? itemExtent,
Implementation
HorizontalDataTable.rtl({
required double leftHandSideColumnWidth,
required double rightHandSideColumnWidth,
double? tableHeight,
bool isFixedHeader = false,
List<Widget>? headerWidgets,
bool isFixedFooter = false,
List<Widget>? footerWidgets,
Widget Function(BuildContext, int)? leftSideItemBuilder,
Widget Function(BuildContext, int)? rightSideItemBuilder,
int itemCount = 0,
List<Widget>? leftSideChildren,
List<Widget>? rightSideChildren,
Widget rowSeparatorWidget = const Divider(
color: Colors.transparent,
height: 0.0,
thickness: 0.0,
),
double elevation = 3.0,
Color elevationColor = Colors.black54,
Color leftHandSideColBackgroundColor = Colors.white,
Color rightHandSideColBackgroundColor = Colors.white,
OnScrollControllerReady? onScrollControllerReady,
ScrollbarStyle? verticalScrollbarStyle,
ScrollbarStyle? horizontalScrollbarStyle,
bool enablePullToRefresh = false,
double refreshIndicatorHeight = 60.0,
HDTRefreshController? htdRefreshController,
Function? onRefresh,
Widget? refreshIndicator,
Widget? fixedSidePlaceHolderRefreshIndicator,
bool enablePullToLoadNewData = false,
Function? onLoad,
LoadIndicator? loadIndicator,
LoadIndicator? fixedSidePlaceHolderLoadIndicator,
ScrollPhysics? scrollPhysics,
ScrollPhysics? horizontalScrollPhysics,
double? itemExtent,
}) : this(
leftHandSideColumnWidth: rightHandSideColumnWidth,
rightHandSideColumnWidth: leftHandSideColumnWidth,
tableHeight: tableHeight,
isFixedHeader: isFixedHeader,
headerWidgets: headerWidgets,
isFixedFooter: isFixedFooter,
footerWidgets: footerWidgets,
leftSideItemBuilder: rightSideItemBuilder,
rightSideItemBuilder: leftSideItemBuilder,
itemCount: itemCount,
leftSideChildren: rightSideChildren,
rightSideChildren: leftSideChildren,
rowSeparatorWidget: rowSeparatorWidget,
elevation: elevation,
elevationColor: elevationColor,
leftHandSideColBackgroundColor: rightHandSideColBackgroundColor,
rightHandSideColBackgroundColor: leftHandSideColBackgroundColor,
onScrollControllerReady: onScrollControllerReady,
verticalScrollbarStyle: verticalScrollbarStyle,
horizontalScrollbarStyle: horizontalScrollbarStyle,
enablePullToRefresh: enablePullToRefresh,
refreshIndicatorHeight: refreshIndicatorHeight,
htdRefreshController: htdRefreshController,
onRefresh: onRefresh,
refreshIndicator: refreshIndicator,
fixedSidePlaceHolderRefreshIndicator:
fixedSidePlaceHolderRefreshIndicator,
enablePullToLoadNewData: enablePullToLoadNewData,
onLoad: onLoad,
loadIndicator: loadIndicator,
fixedSidePlaceHolderLoadIndicator: fixedSidePlaceHolderLoadIndicator,
scrollPhysics: scrollPhysics,
horizontalScrollPhysics: horizontalScrollPhysics,
enableRTL: true,
itemExtent: itemExtent,
);