ErpColumnConfig constructor

ErpColumnConfig({
  1. required String key,
  2. required String label,
  3. double flex = 1.0,
  4. double width = 140,
  5. ColumnAlign align = ColumnAlign.left,
  6. bool sortable = true,
  7. bool searchable = true,
  8. bool isDate = false,
  9. bool required = false,
  10. String? formatter(
    1. dynamic value
    )?,
})

Implementation

ErpColumnConfig({

 required this.key,
 required this.label,
 this.flex = 1.0,
 this.width = 140, // 👈 default width

 this.align = ColumnAlign.left,
 this.sortable = true,
 this.searchable = true,
 this.isDate = false,
 this.required = false,
 this.formatter,
  });