copyWith method
- @useResult
- EdgeInsetsDirectional? padding,
- double? diameterRatio,
- double? squeeze,
- double? magnification,
- double? overAndUnderCenterOpacity,
- double? spacing,
- TextStyle? textStyle,
- TextHeightBehavior? textHeightBehavior,
- double? selectionHeightAdjustment,
- BorderRadiusGeometry? selectionBorderRadius,
- Color? selectionColor,
- 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,
);