copyWith method

  1. @useResult
FTabsStyle copyWith({
  1. EdgeInsets? padding,
  2. BoxDecoration? decoration,
  3. TextStyle? selectedLabelTextStyle,
  4. TextStyle? unselectedLabelTextStyle,
  5. BoxDecoration? indicatorDecoration,
  6. FTabBarIndicatorSize? indicatorSize,
  7. double? height,
  8. double? spacing,
  9. 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,
    );