HorizontalDataTable.rtl constructor

HorizontalDataTable.rtl({
  1. required double leftHandSideColumnWidth,
  2. required double rightHandSideColumnWidth,
  3. double? tableHeight,
  4. bool isFixedHeader = false,
  5. List<Widget>? headerWidgets,
  6. bool isFixedFooter = false,
  7. List<Widget>? footerWidgets,
  8. Widget leftSideItemBuilder(
    1. BuildContext,
    2. int
    )?,
  9. Widget rightSideItemBuilder(
    1. BuildContext,
    2. int
    )?,
  10. int itemCount = 0,
  11. List<Widget>? leftSideChildren,
  12. List<Widget>? rightSideChildren,
  13. Widget rowSeparatorWidget = const Divider(color: Colors.transparent, height: 0.0, thickness: 0.0),
  14. double elevation = 3.0,
  15. Color elevationColor = Colors.black54,
  16. Color leftHandSideColBackgroundColor = Colors.white,
  17. Color rightHandSideColBackgroundColor = Colors.white,
  18. OnScrollControllerReady? onScrollControllerReady,
  19. ScrollbarStyle? verticalScrollbarStyle,
  20. ScrollbarStyle? horizontalScrollbarStyle,
  21. bool enablePullToRefresh = false,
  22. double refreshIndicatorHeight = 60.0,
  23. HDTRefreshController? htdRefreshController,
  24. Function? onRefresh,
  25. Widget? refreshIndicator,
  26. Widget? fixedSidePlaceHolderRefreshIndicator,
  27. bool enablePullToLoadNewData = false,
  28. Function? onLoad,
  29. LoadIndicator? loadIndicator,
  30. LoadIndicator? fixedSidePlaceHolderLoadIndicator,
  31. ScrollPhysics? scrollPhysics,
  32. ScrollPhysics? horizontalScrollPhysics,
  33. 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,
      );