copyWith method

  1. @override
FSelectGroupErrorStyle copyWith({
  1. TextStyle? labelTextStyle,
  2. TextStyle? descriptionTextStyle,
  3. TextStyle? errorTextStyle,
})
override

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

Implementation

@override
FSelectGroupErrorStyle copyWith({
  TextStyle? labelTextStyle,
  TextStyle? descriptionTextStyle,
  TextStyle? errorTextStyle,
}) =>
    FSelectGroupErrorStyle(
      labelTextStyle: labelTextStyle ?? this.labelTextStyle,
      descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
      errorTextStyle: errorTextStyle ?? this.errorTextStyle,
    );