FloatingProps constructor

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

Implementation

const FloatingProps({
  this.id,
  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,
});