fallback static method

ZeroNavigationDrawerStyle fallback({
  1. Color? backgroundColor,
  2. TextStyle? headerTitleStyle,
  3. TextStyle? sectionTitleStyle,
})

A default value style of ZeroNavigationDrawerStyle

Implementation

static ZeroNavigationDrawerStyle fallback({
  Color? backgroundColor,
  TextStyle? headerTitleStyle,
  TextStyle? sectionTitleStyle,
}) =>
    ZeroNavigationDrawerStyle(
      backgroundColor: backgroundColor ?? Colors.white,
      headerTitleStyle: headerTitleStyle,
      sectionTitleStyle: sectionTitleStyle,
      separatorDrawer: true,
      width: 300,
      shape: const RoundedRectangleBorder(
        borderRadius: BorderRadius.horizontal(right: Radius.circular(16)),
      ),
    );