copyWith method

  1. @useResult
FTimeFieldStyle copyWith({
  1. FTextFieldStyle? textFieldStyle,
  2. FPopoverStyle? popoverStyle,
  3. FPortalConstraints? popoverConstraints,
  4. FTimePickerStyle? pickerStyle,
  5. IconThemeData? iconStyle,
})
inherited

Returns a copy of this FTimeFieldStyle 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
FTimeFieldStyle copyWith({
  FTextFieldStyle? textFieldStyle,
  FPopoverStyle? popoverStyle,
  FPortalConstraints? popoverConstraints,
  FTimePickerStyle? pickerStyle,
  IconThemeData? iconStyle,
}) => FTimeFieldStyle(
  textFieldStyle: textFieldStyle ?? this.textFieldStyle,
  popoverStyle: popoverStyle ?? this.popoverStyle,
  popoverConstraints: popoverConstraints ?? this.popoverConstraints,
  pickerStyle: pickerStyle ?? this.pickerStyle,
  iconStyle: iconStyle ?? this.iconStyle,
);