copyWith method

Cursor copyWith({
  1. double? width,
  2. double? height,
  3. Radius? radius,
  4. Color? color,
  5. Duration? fadeDuration,
  6. Duration? blinkHalfPeriod,
  7. Duration? blinkWaitForStart,
  8. Orientation? orientation,
  9. double? offset,
  10. bool? enabled,
})

Implementation

Cursor copyWith({
  double? width,
  double? height,
  Radius? radius,
  Color? color,
  Duration? fadeDuration,
  Duration? blinkHalfPeriod,
  Duration? blinkWaitForStart,
  Orientation? orientation,
  double? offset,
  bool? enabled,
}) =>
    Cursor(
      width: width ?? this.width,
      height: height ?? this.height,
      radius: radius ?? this.radius,
      color: color ?? this.color,
      fadeDuration: fadeDuration ?? this.fadeDuration,
      blinkHalfPeriod: blinkHalfPeriod ?? this.blinkHalfPeriod,
      blinkWaitForStart: blinkWaitForStart ?? this.blinkWaitForStart,
      orientation: orientation ?? this.orientation,
      offset: offset ?? this.offset,
      enabled: enabled ?? this.enabled,
    );