FitSort constructor

const FitSort({
  1. Key? key,
  2. required List<Sortable> data,
  3. required List<SortAlgorithm> availableAlgorithms,
  4. required void onSortChanged(
    1. List<Sortable>,
    2. int
    ),
  5. int selectedSortIndex = 0,
  6. String prompt = _defaultPromptText,
})

Creates a new FitSort.

Implementation

const FitSort({
  super.key,
  required this.data,
  required this.availableAlgorithms,
  required this.onSortChanged,
  this.selectedSortIndex = 0,
  this.prompt = _defaultPromptText,
});