MultiSelectBottomSheet constructor
const
MultiSelectBottomSheet({
- required List<
MultiSelectBottomSheetModel> items, - required double width,
- required String? hint,
- required double bottomSheetHeight,
- required Icon searchIcon,
- required TextEditingController controller,
- double? searchTextFieldWidth,
- String? searchHint = "search here..",
- String cancelText = 'cancel',
- String confirmText = 'confirm',
- String clearAll = 'clear All',
- Color hintColor = Colors.black,
- Color textColor = Colors.black54,
- Color borderColor = Colors.black12,
- Color selectedBackgroundColor = Colors.lightBlueAccent,
- Color unSelectedBackgroundColor = Colors.white,
- Color suggestionListBorderColor = Colors.lightBlueAccent,
- TextStyle? searchHintTextStyle,
- TextStyle? selectTextStyle,
- TextStyle? unSelectTextStyle,
- 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);