copyWith method

  1. @useResult
FFormFieldStyle copyWith({
  1. TextStyle? labelTextStyle,
  2. TextStyle? descriptionTextStyle,
})

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

Implementation

@useResult
FFormFieldStyle copyWith({
  TextStyle? labelTextStyle,
  TextStyle? descriptionTextStyle,
}) =>
    FFormFieldStyle(
      labelTextStyle: labelTextStyle ?? this.labelTextStyle,
      descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
    );