copyWith method
- @useResult
- EdgeInsets? padding,
- BoxDecoration? decoration,
- TextStyle? selectedLabelTextStyle,
- TextStyle? unselectedLabelTextStyle,
- BoxDecoration? indicatorDecoration,
- 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? selectedLabelTextStyle,
TextStyle? unselectedLabelTextStyle,
BoxDecoration? indicatorDecoration,
FTabBarIndicatorSize? indicatorSize,
double? height,
double? spacing,
}) =>
FTabsStyle(
padding: padding ?? this.padding,
decoration: decoration ?? this.decoration,
selectedLabelTextStyle: selectedLabelTextStyle ?? this.selectedLabelTextStyle,
unselectedLabelTextStyle: unselectedLabelTextStyle ?? this.unselectedLabelTextStyle,
indicatorSize: indicatorSize ?? this.indicatorSize,
indicatorDecoration: indicatorDecoration ?? this.indicatorDecoration,
height: height ?? this.height,
spacing: spacing ?? this.spacing,
);