DrawerThemeData constructor Null safety

const DrawerThemeData(
  1. {Color? backgroundColor,
  2. Color? scrimColor,
  3. double? elevation,
  4. Color? shadowColor,
  5. Color? surfaceTintColor,
  6. ShapeBorder? shape,
  7. ShapeBorder? endShape,
  8. double? width}
)

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

Implementation

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