SearchSelectSheet<T> constructor

const SearchSelectSheet<T>({
  1. Key? key,
  2. required List<CustomSelectItem<T>> items,
  3. required String title,
  4. double? dialogWidth,
  5. double? dialogHeight,
  6. String itemAsString(
    1. dynamic value
    )?,
  7. InputDecoration? decoration,
  8. T? initialValue,
  9. required Color selectedItemColor,
  10. required String cancelText,
  11. Color? cancelBackgroundColor,
  12. TextStyle? cancelTextStyle,
  13. TextStyle? titleTextStyle,
  14. Color? itemBackgroundColor,
  15. Color? titleBackgroundColor,
  16. Color? separatorColor,
  17. required double separatorHeight,
  18. TextStyle? itemTextStyle,
  19. TextStyle? searchStyle,
  20. bool? isBarrierDismissible,
  21. TextStyle? selectedItemTextStyle,
  22. required void onSelectionChanged(
    1. T
    ),
})

Implementation

const SearchSelectSheet(
    {Key? key,
    required this.items,
    required this.title,
    this.dialogWidth,
    this.dialogHeight,
    this.itemAsString,
    this.decoration,
    this.initialValue,
    required this.selectedItemColor,
    required this.cancelText,
    this.cancelBackgroundColor,
    this.cancelTextStyle,
    this.titleTextStyle,
    this.itemBackgroundColor,
    this.titleBackgroundColor,
    this.separatorColor,
    required this.separatorHeight,
    this.itemTextStyle,
    this.searchStyle,
    this.isBarrierDismissible,
    this.selectedItemTextStyle,
    required this.onSelectionChanged})
    : super(key: key);