SubMenu constructor Null safety
A SubMenu is displayed as a submenu with the menuItems field as its items.
Assign a List of either MenuButton or MenuDivider widgets to the menuItems field. The List should contain at least one item.
Implementation
const SubMenu({required this.menuItems}) : super();