DoubleColumn<TItem extends Object> constructor

DoubleColumn<TItem extends Object>({
  1. required String fieldName,
  2. ColumnHeader? header,
  3. Widget? customFieldWidget(
    1. TItem row
    )?,
  4. required double? value(
    1. TItem row
    ),
  5. DoubleFilterRules<TItem>? filterRules,
  6. OrderDirections sortDirection = OrderDirections.notSet,
  7. String? format,
  8. double? width,
  9. double? minWidth,
  10. double? maxWidth,
  11. int? xlCols,
  12. int? largeCols,
  13. int? mediumCols,
  14. int? smallCols,
  15. int? xsCols,
  16. TextStyle? textStyle,
  17. Color? backgroundColor,
  18. Color? foregroundColor,
  19. Color? accentColor,
  20. AlignmentGeometry alignment = Alignment.centerLeft,
})

Implementation

DoubleColumn({
  required String fieldName,
  ColumnHeader? header,
  Widget? Function(TItem row)? customFieldWidget,
  required double? Function(TItem row) value,
  DoubleFilterRules<TItem>? filterRules,
  OrderDirections sortDirection = OrderDirections.notSet,
  String? format,
  double? width,
  double? minWidth,
  double? maxWidth,
  int? xlCols,
  int? largeCols,
  int? mediumCols,
  int? smallCols,
  int? xsCols,
  TextStyle? textStyle,
  Color? backgroundColor,
  Color? foregroundColor,
  Color? accentColor,
  AlignmentGeometry alignment = Alignment.centerLeft,
}) : super(
        fieldName: fieldName,
        value: value,
        accentColor: accentColor,
        alignment: alignment,
        backgroundColor: backgroundColor,
        customFieldWidget: customFieldWidget,
        foregroundColor: foregroundColor,
        format: format,
        header: header ?? ColumnHeader(),
        largeCols: largeCols,
        maxWidth: maxWidth,
        mediumCols: mediumCols,
        minWidth: minWidth,
        smallCols: smallCols,
        textStyle: textStyle,
        width: width,
        xlCols: xlCols,
        xsCols: xsCols,
        filterRules: filterRules ?? DoubleFilterRules<TItem>(),
        sortDirection: sortDirection,
      );