WidgetColumn<TItem extends Object> constructor

WidgetColumn<TItem extends Object>({
  1. String? fieldName,
  2. required Widget widget(
    1. TItem item
    ),
  3. WidgetColumnHeader? header,
  4. double? width,
  5. double? minWidth,
  6. double? maxWidth,
  7. int? xlCols,
  8. int? largeCols,
  9. int? mediumCols,
  10. int? smallCols,
  11. int? xsCols,
  12. TextStyle? textStyle,
  13. Color? backgroundColor,
  14. Color? foregroundColor,
  15. Color? accentColor,
  16. 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,
      );