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