FloatingProps constructor

const FloatingProps({
  1. required Widget trigger,
  2. Widget? content,
  3. String? textContent,
  4. bool? isOpen,
  5. FloatingTrigger triggerType = FloatingTrigger.hover,
  6. FloatingPosition position = FloatingPosition.top,
  7. void onOpenChange(
    1. bool isOpen
    )?,
  8. void onToggle()?,
  9. void onMouseEnter()?,
  10. void onMouseLeave()?,
  11. bool showArrow = true,
  12. int offset = 8,
  13. int openDelay = 0,
  14. int closeDelay = 0,
  15. double? maxWidth,
  16. bool closeOnOutsideClick = true,
  17. bool closeOnEscape = true,
})

Implementation

const FloatingProps({
  required this.trigger,
  this.content,
  this.textContent,
  this.isOpen,
  this.triggerType = FloatingTrigger.hover,
  this.position = FloatingPosition.top,
  this.onOpenChange,
  this.onToggle,
  this.onMouseEnter,
  this.onMouseLeave,
  this.showArrow = true,
  this.offset = 8,
  this.openDelay = 0,
  this.closeDelay = 0,
  this.maxWidth,
  this.closeOnOutsideClick = true,
  this.closeOnEscape = true,
});