MultiSelectBottomSheet constructor

const MultiSelectBottomSheet({
  1. required List<MultiSelectBottomSheetModel> items,
  2. required double width,
  3. required String? hint,
  4. required double bottomSheetHeight,
  5. required Icon searchIcon,
  6. required TextEditingController controller,
  7. double? searchTextFieldWidth,
  8. String? searchHint = "search here..",
  9. String cancelText = 'cancel',
  10. String confirmText = 'confirm',
  11. String clearAll = 'clear All',
  12. Color hintColor = Colors.black,
  13. Color textColor = Colors.black54,
  14. Color borderColor = Colors.black12,
  15. Color selectedBackgroundColor = Colors.lightBlueAccent,
  16. Color unSelectedBackgroundColor = Colors.white,
  17. Color suggestionListBorderColor = Colors.lightBlueAccent,
  18. TextStyle? searchHintTextStyle,
  19. TextStyle? selectTextStyle,
  20. TextStyle? unSelectTextStyle,
  21. Key? key,
})

Implementation

const MultiSelectBottomSheet({
  required this.items,
  required this.width,
  required this.hint,
  required this.bottomSheetHeight,
  required this.searchIcon,
  required this.controller,
  this.searchTextFieldWidth,
  this.searchHint="search here..",
  this.cancelText='cancel',
  this.confirmText='confirm',
  this.clearAll='clear All',
  this.hintColor=Colors.black,
  this.textColor=Colors.black54,
  this.borderColor=Colors.black12,
  this.selectedBackgroundColor=Colors.lightBlueAccent,
  this.unSelectedBackgroundColor=Colors.white,
  this.suggestionListBorderColor=Colors.lightBlueAccent,
  this.searchHintTextStyle,
  this.selectTextStyle,
  this.unSelectTextStyle,
  Key? key,
}) : super(key: key);