fallback static method

ZeroNavigationRailStyle fallback({
  1. Color? backgrondColor,
  2. Color? activeColor,
  3. Color? inactiveColor,
  4. Color? indicatorColor,
  5. TextStyle? labelStyle,
})

A default value style of ZeroNavigationRailStyle

Implementation

static ZeroNavigationRailStyle fallback({
  Color? backgrondColor,
  Color? activeColor,
  Color? inactiveColor,
  Color? indicatorColor,
  TextStyle? labelStyle,
}) =>
    ZeroNavigationRailStyle(
      backgroundColor: backgrondColor ?? Colors.white,
      width: 72,
      activeColor: activeColor ?? Colors.white,
      inactiveColor: inactiveColor ?? ZeroColors.neutral[12],
      indicatorColor: indicatorColor,
      labelStyle: labelStyle,
      activeLabelStyle: labelStyle,
      indicatorBorderRadius: BorderRadius.circular(8),
    );