copyWith method
- @useResult
- EdgeInsets? padding,
- BoxDecoration? decoration,
- TextStyle? selectedLabel,
- TextStyle? unselectedLabel,
- BoxDecoration? indicator,
- FTabBarIndicatorSize? indicatorSize,
- double? height,
- double? spacing,
Creates a copy of this FCardStyle with the given properties replaced.
Implementation
@useResult
FTabsStyle copyWith({
EdgeInsets? padding,
BoxDecoration? decoration,
TextStyle? selectedLabel,
TextStyle? unselectedLabel,
BoxDecoration? indicator,
FTabBarIndicatorSize? indicatorSize,
double? height,
double? spacing,
}) =>
FTabsStyle(
padding: padding ?? this.padding,
decoration: decoration ?? this.decoration,
selectedLabel: selectedLabel ?? this.selectedLabel,
unselectedLabel: unselectedLabel ?? this.unselectedLabel,
indicatorSize: indicatorSize ?? this.indicatorSize,
indicator: indicator ?? this.indicator,
height: height ?? this.height,
spacing: spacing ?? this.spacing,
);