copyWith method

RowTooltipTheme copyWith({
  1. TooltipDirection? direction,
  2. TooltipAlignment? alignment,
  3. double? offset,
  4. double? crossAxisOffset,
  5. double? screenMargin,
  6. JustTooltipTheme? surface,
  7. bool? interactive,
  8. Duration? waitDuration,
  9. Duration? showDuration,
  10. bool? enableHover,
  11. TooltipAnimation? animation,
  12. Curve? animationCurve,
  13. Duration? animationDuration,
  14. double? fadeBegin,
  15. double? scaleBegin,
  16. double? slideOffset,
  17. double? rotationBegin,
  18. VoidCallback? onShow,
  19. 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,
  );
}