copyWith method

  1. @useResult
FTimePickerStyle copyWith({
  1. EdgeInsetsDirectional? padding,
  2. double? diameterRatio,
  3. double? squeeze,
  4. double? magnification,
  5. double? overAndUnderCenterOpacity,
  6. double? spacing,
  7. TextStyle? textStyle,
  8. TextHeightBehavior? textHeightBehavior,
  9. double? selectionHeightAdjustment,
  10. BorderRadiusGeometry? selectionBorderRadius,
  11. Color? selectionColor,
  12. FFocusedOutlineStyle? focusedOutlineStyle,
})
inherited

Returns a copy of this FTimePickerStyle with the given properties replaced.

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

@useResult
FTimePickerStyle copyWith({
  EdgeInsetsDirectional? padding,
  double? diameterRatio,
  double? squeeze,
  double? magnification,
  double? overAndUnderCenterOpacity,
  double? spacing,
  TextStyle? textStyle,
  TextHeightBehavior? textHeightBehavior,
  double? selectionHeightAdjustment,
  BorderRadiusGeometry? selectionBorderRadius,
  Color? selectionColor,
  FFocusedOutlineStyle? focusedOutlineStyle,
}) => FTimePickerStyle(
  padding: padding ?? this.padding,
  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 ?? this.focusedOutlineStyle,
);