fallback static method

ZeroNavigationBarStyle fallback({
  1. Color? backgroundColor,
  2. Color? indicatorColor,
  3. Color? unselectedColor,
  4. Color? selectedColor,
  5. Color? unselectedIconColor,
  6. Color? selectedIconColor,
})

A default value style of ZeroNavigationBarStyle

Implementation

static ZeroNavigationBarStyle fallback({
  Color? backgroundColor,
  Color? indicatorColor,
  Color? unselectedColor,
  Color? selectedColor,
  Color? unselectedIconColor,
  Color? selectedIconColor,
}) =>
    ZeroNavigationBarStyle(
      backgroundColor: backgroundColor ?? Colors.white,
      unselectedColor: unselectedColor ?? Colors.black,
      selectedColor: selectedColor ?? Colors.black,
      unselectedIconColor:
          unselectedIconColor ?? unselectedColor ?? Colors.black,
      selectedIconColor: selectedIconColor ?? selectedColor ?? Colors.black,
      indicatorColor:
          indicatorColor ?? ZeroColors.primary.toAccentColor().lighter,
      indicatorType: ZeroNavigationBarIndicatorType.oval,
    );