PopupMenuTheme constructor Null safety
- {Key? key,
- required PopupMenuThemeData data,
- required Widget child}
Creates a popup menu theme that controls the configurations for popup menus in its widget subtree.
The data argument must not be null.
Implementation
const PopupMenuTheme({
super.key,
required this.data,
required super.child,
}) : assert(data != null);