GridTextColumn constructor Null safety

  1. @Deprecated('Use GridColumn instead.')
GridTextColumn(
  1. {required String columnName,
  2. required Widget label,
  3. ColumnWidthMode columnWidthMode = ColumnWidthMode.none,
  4. EdgeInsets autoFitPadding = const EdgeInsets.all(16.0),
  5. bool visible = true,
  6. bool allowSorting = true,
  7. double minimumWidth = double.nan,
  8. double maximumWidth = double.nan,
  9. double width = double.nan,
  10. bool allowEditing = true}
)

Creates a String column using columnName and label.

Implementation

@Deprecated('Use GridColumn instead.')
GridTextColumn({
  required String columnName,
  required Widget label,
  ColumnWidthMode columnWidthMode = ColumnWidthMode.none,
  EdgeInsets autoFitPadding = const EdgeInsets.all(16.0),
  bool visible = true,
  bool allowSorting = true,
  double minimumWidth = double.nan,
  double maximumWidth = double.nan,
  double width = double.nan,
  bool allowEditing = true,
}) : super(
          columnName: columnName,
          label: label,
          columnWidthMode: columnWidthMode,
          autoFitPadding: autoFitPadding,
          visible: visible,
          allowSorting: allowSorting,
          minimumWidth: minimumWidth,
          maximumWidth: maximumWidth,
          width: width,
          allowEditing: allowEditing);