SelectSheet<T> constructor

const SelectSheet<T>({
  1. Key? key,
  2. required List<CustomSelectItem<T>> items,
  3. required String title,
  4. double? width,
  5. String itemAsString(
    1. dynamic value
    )?,
  6. InputDecoration? decoration,
  7. String? validator(
    1. String?
    )?,
  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. bool? isBarrierDismissible,
  20. TextStyle? selectedItemTextStyle,
})

Implementation

const SelectSheet(
    {Key? key,
    required this.items,
    required this.title,
    this.width,
    this.itemAsString,
    this.decoration,
    this.validator,
    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.isBarrierDismissible,
    this.selectedItemTextStyle})
    : super(key: key);