SmartSearchBottomSheetConfig constructor

const SmartSearchBottomSheetConfig({
  1. String? title,
  2. Widget titleBuilder(
    1. int selectedCount
    )?,
  3. String confirmText = 'Done',
  4. String cancelText = 'Cancel',
  5. bool showConfirmButton = true,
  6. bool showCancelButton = true,
  7. bool showSelectedCount = true,
  8. bool showClearAllButton = true,
  9. String clearAllText = 'Clear All',
  10. double heightFactor = 0.85,
  11. BorderRadius borderRadius = const BorderRadius.vertical(top: Radius.circular(16)),
  12. Color? backgroundColor,
  13. Color? barrierColor,
  14. bool enableDrag = true,
  15. bool isScrollControlled = true,
  16. bool useSafeArea = true,
  17. 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,
});