SortableButton<T> constructor

SortableButton<T>(
  1. List<Field<T>> fields,
  2. String labelId,
  3. void onPressed(
    1. List<Field<T>>
    ), {
  4. String? buttonText,
  5. required double fontSize,
})

A button to sort & toggle sorting on multiple fields

labelId

This is the label and id for the field (must be unique)

Implementation

SortableButton(
  this.fields,
  this.labelId,
  this.onPressed, {
  this.buttonText,
  required this.fontSize,
  // required void Function(List<Field<T>>) onChanged,
});