copyWith method
- @useResult
 
- double? diameterRatio,
 - double? squeeze,
 - double? magnification,
 - double? overAndUnderCenterOpacity,
 - double? spacing,
 - TextStyle? textStyle,
 - TextHeightBehavior? textHeightBehavior,
 - double? selectionHeightAdjustment,
 - BorderRadiusGeometry? selectionBorderRadius,
 - Color? selectionColor,
 - FFocusedOutlineStyle focusedOutlineStyle(
- FFocusedOutlineStyle style
 
 
Returns a copy of this FPickerStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FPickerStyle.diameterRatio - A ratio between the diameter of the cylinder and the viewport's size.
 - FPickerStyle.squeeze - The angular compactness of the children on the wheel.
 - FPickerStyle.magnification - The zoomed-in rate of the magnifier.
 - FPickerStyle.overAndUnderCenterOpacity - The opacity value applied to the wheel above and below the magnifier.
 - FPickerStyle.spacing - The spacing between the picker's wheels.
 - FPickerStyle.textStyle - The picker's default text style.
 - FPickerStyle.textHeightBehavior - The picker's default text height behavior.
 - FPickerStyle.selectionHeightAdjustment - An amount to add to the height of the selection.
 - FPickerStyle.selectionBorderRadius - The selection's border radius.
 - FPickerStyle.selectionColor - The selection's color.
 - FPickerStyle.focusedOutlineStyle - The focused outline style.
 
Implementation
@useResult
FPickerStyle copyWith({
  double? diameterRatio,
  double? squeeze,
  double? magnification,
  double? overAndUnderCenterOpacity,
  double? spacing,
  TextStyle? textStyle,
  TextHeightBehavior? textHeightBehavior,
  double? selectionHeightAdjustment,
  BorderRadiusGeometry? selectionBorderRadius,
  Color? selectionColor,
  FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
}) => FPickerStyle(
  diameterRatio: diameterRatio ?? this.diameterRatio,
  squeeze: squeeze ?? this.squeeze,
  magnification: magnification ?? this.magnification,
  overAndUnderCenterOpacity: overAndUnderCenterOpacity ?? this.overAndUnderCenterOpacity,
  spacing: spacing ?? this.spacing,
  textStyle: textStyle ?? this.textStyle,
  textHeightBehavior: textHeightBehavior ?? this.textHeightBehavior,
  selectionHeightAdjustment: selectionHeightAdjustment ?? this.selectionHeightAdjustment,
  selectionBorderRadius: selectionBorderRadius ?? this.selectionBorderRadius,
  selectionColor: selectionColor ?? this.selectionColor,
  focusedOutlineStyle: focusedOutlineStyle != null
      ? focusedOutlineStyle(this.focusedOutlineStyle)
      : this.focusedOutlineStyle,
);