MenuTheme constructor

const MenuTheme({
  1. Key? key,
  2. required MenuThemeData data,
  3. required Widget child,
})

Creates a const theme that controls the configurations for the menus created by the SubmenuButton or MenuAnchor widgets.

Implementation

const MenuTheme({super.key, required this.data, required super.child});