MenuStyle constructor Null safety
- {double width = 200.0,
- Color backgroundColor = Colors.white,
- EdgeInsets padding = const EdgeInsets.symmetric(vertical: 8.0)}
Style the menus and submenus by implementing a custom MenuStyle.
Implementation
const MenuStyle({
this.width = 200.0,
this.openSubmenusOnHover = true,
this.backgroundColor = Colors.white,
this.padding = const EdgeInsets.symmetric(vertical: 8.0),
});