SmartSearchBottomSheetConfig constructor
const
SmartSearchBottomSheetConfig({
- String? title,
- Widget titleBuilder(
- int selectedCount
- String confirmText = 'Done',
- String cancelText = 'Cancel',
- bool showConfirmButton = true,
- bool showCancelButton = true,
- bool showSelectedCount = true,
- bool showClearAllButton = true,
- String clearAllText = 'Clear All',
- double heightFactor = 0.85,
- BorderRadius borderRadius = const BorderRadius.vertical(top: Radius.circular(16)),
- Color? backgroundColor,
- Color? barrierColor,
- bool enableDrag = true,
- bool isScrollControlled = true,
- bool useSafeArea = true,
- bool showDragHandle = true,
Implementation
const SmartSearchBottomSheetConfig({
this.title,
this.titleBuilder,
this.confirmText = 'Done',
this.cancelText = 'Cancel',
this.showConfirmButton = true,
this.showCancelButton = true,
this.showSelectedCount = true,
this.showClearAllButton = true,
this.clearAllText = 'Clear All',
this.heightFactor = 0.85,
this.borderRadius = const BorderRadius.vertical(top: Radius.circular(16)),
this.backgroundColor,
this.barrierColor,
this.enableDrag = true,
this.isScrollControlled = true,
this.useSafeArea = true,
this.showDragHandle = true,
});