copyWith method
- @useResult
- FTextFieldStyleDelta? fieldStyle,
- FPopoverStyleDelta? popoverStyle,
- FTimePickerStyleDelta? pickerStyle,
Returns a copy of this FTimeFieldStyle with the given properties replaced.
See customizing widget styles.
Parameters
- FTimeFieldStyle.fieldStyle - The time field's text field style.
- FTimeFieldStyle.popoverStyle - The time field picker's popover style.
- FTimeFieldStyle.pickerStyle - The time field's picker style.
Implementation
@useResult
FTimeFieldStyle copyWith({
FTextFieldStyleDelta? fieldStyle,
FPopoverStyleDelta? popoverStyle,
FTimePickerStyleDelta? pickerStyle,
}) => .new(
fieldStyle: fieldStyle?.call(this.fieldStyle) ?? this.fieldStyle,
popoverStyle: popoverStyle?.call(this.popoverStyle) ?? this.popoverStyle,
pickerStyle: pickerStyle?.call(this.pickerStyle) ?? this.pickerStyle,
);