copyWith method
Cursor
copyWith(
{ - double? width,
- double? height,
- Radius? radius,
- Color? color,
- Duration? fadeDuration,
- Duration? blinkHalfPeriod,
- Duration? blinkWaitForStart,
- Orientation? orientation,
- double? offset,
- 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,
);