MouseStyle.copy constructor

MouseStyle.copy(
  1. MouseStyle other, {
  2. Key? key,
  3. required bool showVisibleOnHover,
})

Implementation

MouseStyle.copy(MouseStyle other,
    {super.key, required bool showVisibleOnHover})
    : visibleOnHover = showVisibleOnHover,
      size = other.size,
      latency = other.latency,
      child = other.child,
      decoration = other.decoration,
      alignment = other.alignment,
      animationDuration = other.animationDuration,
      animationCurve = other.animationCurve,
      opacity = other.opacity,
      opaque = other.opaque,
      transform = other.transform;