copyWith method
WheelOptions
copyWith(
{ - double? itemExtent,
- double? diameterRatio,
- double? offAxisFraction,
- double? perspective,
- double? magnification,
- bool? useMagnifier,
- double? squeeze,
- bool? isCupertino,
- ScrollPhysics? physics,
- bool? looping,
- ValueChanged<int>? onChanged,
- Color? backgroundColor,
})
Implementation
WheelOptions copyWith({
double? itemExtent,
double? diameterRatio,
double? offAxisFraction,
double? perspective,
double? magnification,
bool? useMagnifier,
double? squeeze,
bool? isCupertino,
ScrollPhysics? physics,
bool? looping,
ValueChanged<int>? onChanged,
Color? backgroundColor,
}) =>
WheelOptions(
itemExtent: itemExtent ?? this.itemExtent,
diameterRatio: diameterRatio ?? this.diameterRatio,
offAxisFraction: offAxisFraction ?? this.offAxisFraction,
perspective: perspective ?? this.perspective,
magnification: magnification ?? this.magnification,
useMagnifier: useMagnifier ?? this.useMagnifier,
squeeze: squeeze ?? this.squeeze,
isCupertino: isCupertino ?? this.isCupertino,
physics: physics ?? this.physics,
looping: looping ?? this.looping,
onChanged: onChanged ?? this.onChanged,
backgroundColor: backgroundColor ?? this.backgroundColor);