copyWith method
HoverCardTheme
copyWith({
- ValueGetter<
Duration?> ? debounce, - ValueGetter<
Duration?> ? wait, - ValueGetter<
AlignmentGeometry?> ? popoverAlignment, - ValueGetter<
AlignmentGeometry?> ? anchorAlignment, - ValueGetter<
Offset?> ? popoverOffset, - ValueGetter<
HitTestBehavior?> ? behavior,
Implementation
HoverCardTheme copyWith({
ValueGetter<Duration?>? debounce,
ValueGetter<Duration?>? wait,
ValueGetter<AlignmentGeometry?>? popoverAlignment,
ValueGetter<AlignmentGeometry?>? anchorAlignment,
ValueGetter<Offset?>? popoverOffset,
ValueGetter<HitTestBehavior?>? behavior,
}) {
return HoverCardTheme(
debounce: debounce == null ? this.debounce : debounce(),
wait: wait == null ? this.wait : wait(),
popoverAlignment:
popoverAlignment == null ? this.popoverAlignment : popoverAlignment(),
anchorAlignment:
anchorAlignment == null ? this.anchorAlignment : anchorAlignment(),
popoverOffset:
popoverOffset == null ? this.popoverOffset : popoverOffset(),
behavior: behavior == null ? this.behavior : behavior(),
);
}