copyWith method
RowTooltipTheme
copyWith({
- TooltipDirection? direction,
- TooltipAlignment? alignment,
- double? offset,
- double? crossAxisOffset,
- double? screenMargin,
- JustTooltipTheme? surface,
- bool? interactive,
- Duration? waitDuration,
- Duration? showDuration,
- bool? enableHover,
- TooltipAnimation? animation,
- Curve? animationCurve,
- Duration? animationDuration,
- double? fadeBegin,
- double? scaleBegin,
- double? slideOffset,
- double? rotationBegin,
- VoidCallback? onShow,
- VoidCallback? onHide,
Implementation
RowTooltipTheme copyWith({
TooltipDirection? direction,
TooltipAlignment? alignment,
double? offset,
double? crossAxisOffset,
double? screenMargin,
JustTooltipTheme? surface,
bool? interactive,
Duration? waitDuration,
Duration? showDuration,
bool? enableHover,
TooltipAnimation? animation,
Curve? animationCurve,
Duration? animationDuration,
double? fadeBegin,
double? scaleBegin,
double? slideOffset,
double? rotationBegin,
VoidCallback? onShow,
VoidCallback? onHide,
}) {
return RowTooltipTheme(
direction: direction ?? this.direction,
alignment: alignment ?? this.alignment,
offset: offset ?? this.offset,
crossAxisOffset: crossAxisOffset ?? this.crossAxisOffset,
screenMargin: screenMargin ?? this.screenMargin,
surface: surface ?? this.surface,
interactive: interactive ?? this.interactive,
waitDuration: waitDuration ?? this.waitDuration,
showDuration: showDuration ?? this.showDuration,
enableHover: enableHover ?? this.enableHover,
animation: animation ?? this.animation,
animationCurve: animationCurve ?? this.animationCurve,
animationDuration: animationDuration ?? this.animationDuration,
fadeBegin: fadeBegin ?? this.fadeBegin,
scaleBegin: scaleBegin ?? this.scaleBegin,
slideOffset: slideOffset ?? this.slideOffset,
rotationBegin: rotationBegin ?? this.rotationBegin,
onShow: onShow ?? this.onShow,
onHide: onHide ?? this.onHide,
);
}