WidgetColumn<TItem extends Object> constructor
WidgetColumn<TItem extends Object> ({
- String? fieldName,
- required Widget widget(
- TItem item
- WidgetColumnHeader? header,
- 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
WidgetColumn({
String? fieldName,
required Widget Function(TItem item) widget,
WidgetColumnHeader? header,
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 ?? math.Random().nextDouble().toString(),
value: (item) => null,
accentColor: accentColor,
alignment: alignment,
backgroundColor: backgroundColor,
customFieldWidget: widget,
foregroundColor: foregroundColor,
format: null,
header: header ?? WidgetColumnHeader(),
largeCols: largeCols,
maxWidth: maxWidth,
mediumCols: mediumCols,
minWidth: minWidth,
smallCols: smallCols,
textStyle: textStyle,
width: width,
xlCols: xlCols,
xsCols: xsCols,
filterRules: NoFilterRules(),
sortDirection: OrderDirections.notSet,
);