drawerThemeData method

DrawerThemeData drawerThemeData(
  1. Palette colors
)

Implementation

DrawerThemeData drawerThemeData(Palette colors) {
  return DrawerThemeData(
    backgroundColor: colors.backgroundText,
    scrimColor: Colors.black.withOpacityNeue(0.54),
    shadowColor: _singleShadowColorFor(colors.background),
    surfaceTintColor: colors.background,
    shape: null,
    endShape: null,
    width: null /* use default value of Drawer.width */,
  );
}