DoubleColumn<TItem extends Object> constructor
DoubleColumn<TItem extends Object> ({
- required String fieldName,
- ColumnHeader? header,
- Widget? customFieldWidget(
- TItem row
- required double? value(
- TItem row
- 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,
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,
);