DrawerTheme constructor Null safety
- {Key? key,
- required DrawerThemeData data,
- required Widget child}
Creates a theme that defines the DrawerThemeData properties for a Drawer.
Implementation
const DrawerTheme({
Key? key,
required this.data,
required Widget child,
}) : assert(data != null), super(key: key, child: child);