copyWith method

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