HoverCardTheme constructor
const
HoverCardTheme({
- Duration? debounce,
- Duration? wait,
- AlignmentGeometry? popoverAlignment,
- AlignmentGeometry? anchorAlignment,
- Offset? popoverOffset,
- HitTestBehavior? behavior,
Creates a HoverCardTheme.
All parameters are optional and will use system defaults when null.
Parameters:
debounce(Duration?, optional): delay before hiding after mouse exitwait(Duration?, optional): delay before showing after mouse enterpopoverAlignment(AlignmentGeometry?, optional): popover alignmentanchorAlignment(AlignmentGeometry?, optional): anchor point alignmentpopoverOffset(Offset?, optional): offset from calculated positionbehavior(HitTestBehavior?, optional): mouse interaction behavior
Example:
const HoverCardTheme(
debounce: Duration(milliseconds: 200),
wait: Duration(milliseconds: 600),
popoverAlignment: Alignment.bottomCenter,
)
Implementation
const HoverCardTheme({
this.debounce,
this.wait,
this.popoverAlignment,
this.anchorAlignment,
this.popoverOffset,
this.behavior,
});