copyWith method
PickerWheelOptions
copyWith({
- double? itemExtent,
- double? diameterRatio,
- double? offAxisFraction,
- double? perspective,
- double? magnification,
- bool? useMagnifier,
- double? squeeze,
- bool? isCupertino,
- ScrollPhysics? physics,
- Color? backgroundColor,
- double? itemWidth,
- bool? looping,
- ValueChanged<
int> ? onChanged,
override
Implementation
@override
PickerWheelOptions copyWith({
double? itemExtent,
double? diameterRatio,
double? offAxisFraction,
double? perspective,
double? magnification,
bool? useMagnifier,
double? squeeze,
bool? isCupertino,
ScrollPhysics? physics,
Color? backgroundColor,
double? itemWidth,
bool? looping,
ValueChanged<int>? onChanged,
}) =>
PickerWheelOptions(
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,
backgroundColor: backgroundColor ?? this.backgroundColor,
itemWidth: itemWidth ?? this.itemWidth);