copyWith method

VTabBarStyle copyWith({
  1. VTabIndicatorMode? indicatorMode,
  2. double? indicatorWidth,
  3. double? indicatorHeight,
  4. Color? indicatorColor,
  5. double? indicatorBottom,
  6. double? tabHeight,
  7. Color? bgColor,
  8. Color? labelColor,
  9. double? labelSize,
  10. FontWeight? labelWeight,
  11. Color? unselectedLabelColor,
  12. double? unselectedLabelSize,
  13. FontWeight? unselectedLabelWeight,
})

Implementation

VTabBarStyle copyWith({
  VTabIndicatorMode? indicatorMode,
  double? indicatorWidth,
  double? indicatorHeight,
  Color? indicatorColor,
  double? indicatorBottom,
  double? tabHeight,
  Color? bgColor,
  Color? labelColor,
  double? labelSize,
  FontWeight? labelWeight,
  Color? unselectedLabelColor,
  double? unselectedLabelSize,
  FontWeight? unselectedLabelWeight,
}) {
  return VTabBarStyle(
    indicatorMode: indicatorMode ?? this.indicatorMode,
    indicatorWidth: indicatorWidth ?? this.indicatorWidth,
    indicatorHeight: indicatorHeight ?? this.indicatorHeight,
    indicatorColor: indicatorColor ?? this.indicatorColor,
    indicatorBottom: indicatorBottom ?? this.indicatorBottom,
    tabHeight: tabHeight ?? this.tabHeight,
    bgColor: bgColor ?? this.bgColor,
    labelColor: labelColor ?? this.labelColor,
    labelSize: labelSize ?? this.labelSize,
    labelWeight: labelWeight ?? this.labelWeight,
    unselectedLabelColor: unselectedLabelColor ?? this.unselectedLabelColor,
    unselectedLabelSize: unselectedLabelSize ?? this.unselectedLabelSize,
    unselectedLabelWeight: unselectedLabelWeight ?? this.unselectedLabelWeight,
  );
}