SafaehTilePickerBody<T> constructor

const SafaehTilePickerBody<T>({
  1. Key? key,
  2. required List<SafaehTileOption<T>> options,
  3. String? title,
  4. SafaehTitleBuilder? titleBuilder,
  5. Widget? header,
  6. T? selected,
  7. Iterable<T>? selectedValues,
  8. SafaehTileBuilder<T>? tileBuilder,
  9. double? tabletBreakpoint,
  10. bool showTitleInBody = true,
  11. bool multiSelect = false,
  12. String? searchHint,
  13. String? searchEmptyLabel,
  14. SafaehTileSearchMatch<T>? searchMatches,
  15. String? confirmLabel,
  16. String? cancelLabel,
  17. ValueChanged<T>? onSelected,
})

Implementation

const SafaehTilePickerBody({
  super.key,
  required this.options,
  this.title,
  this.titleBuilder,
  this.header,
  this.selected,
  this.selectedValues,
  this.tileBuilder,
  this.tabletBreakpoint,
  this.showTitleInBody = true,
  this.multiSelect = false,
  this.searchHint,
  this.searchEmptyLabel,
  this.searchMatches,
  this.confirmLabel,
  this.cancelLabel,
  this.onSelected,
});