copyWith method
- @useResult
- EdgeInsets? labelPadding,
- EdgeInsets? descriptionPadding,
- EdgeInsets? errorPadding,
- 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,
);