copyWith method

  1. @useResult
FLabelLayoutStyle copyWith({
  1. EdgeInsets? labelPadding,
  2. EdgeInsets? descriptionPadding,
  3. EdgeInsets? errorPadding,
  4. EdgeInsets? childPadding,
})

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

Implementation

@useResult
FLabelLayoutStyle copyWith({
  EdgeInsets? labelPadding,
  EdgeInsets? descriptionPadding,
  EdgeInsets? errorPadding,
  EdgeInsets? childPadding,
}) =>
    FLabelLayoutStyle(
      labelPadding: labelPadding ?? this.labelPadding,
      descriptionPadding: descriptionPadding ?? this.descriptionPadding,
      errorPadding: errorPadding ?? this.errorPadding,
      childPadding: childPadding ?? this.childPadding,
    );