copyWith method

  1. @useResult
FDateFieldStyle copyWith({
  1. FTextFieldStyle? textFieldStyle,
  2. FPopoverStyle? popoverStyle,
  3. FCalendarStyle? calendarStyle,
  4. IconThemeData? iconStyle,
})
inherited

Returns a copy of this FDateFieldStyle 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
FDateFieldStyle copyWith({
  FTextFieldStyle? textFieldStyle,
  FPopoverStyle? popoverStyle,
  FCalendarStyle? calendarStyle,
  IconThemeData? iconStyle,
}) => FDateFieldStyle(
  textFieldStyle: textFieldStyle ?? this.textFieldStyle,
  popoverStyle: popoverStyle ?? this.popoverStyle,
  calendarStyle: calendarStyle ?? this.calendarStyle,
  iconStyle: iconStyle ?? this.iconStyle,
);