copyWith method

  1. @useResult
FLabelStyles copyWith({
  1. FLabelStyle? horizontalStyle,
  2. FLabelStyle? verticalStyle,
})

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

Implementation

@useResult
FLabelStyles copyWith({
  FLabelStyle? horizontalStyle,
  FLabelStyle? verticalStyle,
}) =>
    FLabelStyles(
      horizontalStyle: horizontalStyle ?? this.horizontalStyle,
      verticalStyle: verticalStyle ?? this.verticalStyle,
    );