defaultM2FixedNavigationBarProperties top-level property

M2NavigationBarProperties get defaultM2FixedNavigationBarProperties

Implementation

M2NavigationBarProperties get defaultM2FixedNavigationBarProperties =>
    M2NavigationBarProperties(
      backgroundColor: M2NavigationBarDefaults.backgroundColor.toColorRGBA(),
      elevation: M2NavigationBarDefaults.elevation,
      navigationBarType: M2NavigationBarDefaults.navigationBarType,
      landscapeLayout: M2NavigationBarDefaults.landscapeLayout,
      selectedLabelStyle: TextProp.general(
          fontSize: M2NavigationBarDefaults.labelFontSize,
          fills: [M2NavigationBarDefaults.selectedLabelColorDark.toPaint()]),
      unselectedLabelStyle: TextProp.general(
          fontSize: M2NavigationBarDefaults.labelFontSize,
          fills: [M2NavigationBarDefaults.unselectedLabelColorDark.toPaint()]),
      selectedIconColor:
          M2NavigationBarDefaults.selectedIconColor.toColorRGBA(),
      unselectedIconColor:
          M2NavigationBarDefaults.unselectedIconColor.toColorRGBA(),
      unselectedIconSize: M2NavigationBarDefaults.unselectedIconSize,
      selectedIconSize: M2NavigationBarDefaults.selectedIconSize,
      labelBehavior: M2NavigationBarDefaults.labelBehavior,
      items: [],
    );