SmartSearchOverlayConfig constructor

const SmartSearchOverlayConfig({
  1. OverlayPosition position = OverlayPosition.auto,
  2. double maxHeight = 300.0,
  3. double? maxWidth,
  4. double offset = 4.0,
  5. double borderRadius = 8.0,
  6. double elevation = 8.0,
  7. Color? barrierColor,
  8. bool barrierDismissible = true,
  9. Duration animationDuration = const Duration(milliseconds: 200),
  10. OverlayAnimationType animationType = OverlayAnimationType.fade,
  11. Curve animationCurve = Curves.easeOutCubic,
  12. BoxConstraints? constraints,
  13. bool followTargetOnScroll = true,
})

Implementation

const SmartSearchOverlayConfig({
  this.position = OverlayPosition.auto,
  this.maxHeight = 300.0,
  this.maxWidth,
  this.offset = 4.0,
  this.borderRadius = 8.0,
  this.elevation = 8.0,
  this.barrierColor,
  this.barrierDismissible = true,
  this.animationDuration = const Duration(milliseconds: 200),
  this.animationType = OverlayAnimationType.fade,
  this.animationCurve = Curves.easeOutCubic,
  this.constraints,
  this.followTargetOnScroll = true,
});