copyWith method
HoverTheme
copyWith({
- ValueGetter<
Duration?> ? debounceDuration, - ValueGetter<
HitTestBehavior?> ? hitTestBehavior, - ValueGetter<
Duration?> ? waitDuration, - ValueGetter<
Duration?> ? minDuration, - ValueGetter<
Duration?> ? showDuration,
Implementation
HoverTheme copyWith({
ValueGetter<Duration?>? debounceDuration,
ValueGetter<HitTestBehavior?>? hitTestBehavior,
ValueGetter<Duration?>? waitDuration,
ValueGetter<Duration?>? minDuration,
ValueGetter<Duration?>? showDuration,
}) {
return HoverTheme(
debounceDuration:
debounceDuration == null ? this.debounceDuration : debounceDuration(),
hitTestBehavior: hitTestBehavior == null
? this.hitTestBehavior
: hitTestBehavior(),
waitDuration:
waitDuration == null ? this.waitDuration : waitDuration(),
minDuration: minDuration == null ? this.minDuration : minDuration(),
showDuration: showDuration == null ? this.showDuration : showDuration(),
);
}