fallback static method

ZeroTabBarStyle fallback({
  1. Color? backgroundColor,
  2. Color? activeColor,
  3. Color? inactiveColor,
  4. Color? indicatorColor,
  5. EdgeInsetsGeometry? padding,
  6. double? iconSize,
  7. TextStyle? labelStyle,
})

A default value style of ZeroTabBarStyle

Implementation

static ZeroTabBarStyle fallback({
  Color? backgroundColor,
  Color? activeColor,
  Color? inactiveColor,
  Color? indicatorColor,
  EdgeInsetsGeometry? padding,
  double? iconSize,
  TextStyle? labelStyle,
}) =>
    ZeroTabBarStyle(
      activeColor: activeColor ?? ZeroColors.primary,
      inactiveColor: inactiveColor ?? ZeroColors.neutral[8],
      indicatorColor: indicatorColor ?? ZeroColors.primary,
      padding: padding ?? const EdgeInsets.symmetric(vertical: 8),
      iconSize: 24,
      labelStyle: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
      isScrollable: false,
    );