DrawerThemeData constructor Null safety

const DrawerThemeData(
  1. {Color? backgroundColor,
  2. Color? scrimColor,
  3. double? elevation,
  4. ShapeBorder? shape,
  5. double? width}
)

Creates a theme that can be used for ThemeData.drawerTheme and DrawerTheme.

Implementation

const DrawerThemeData({
  this.backgroundColor,
  this.scrimColor,
  this.elevation,
  this.shape,
  this.width,
});