PlatformMenuBar constructor

const PlatformMenuBar({
  1. Key? key,
  2. required List<PlatformMenuItem> menus,
  3. Widget? child,
})

Creates a const PlatformMenuBar.

The child and menus attributes are required.

Implementation

const PlatformMenuBar({
  super.key,
  required this.menus,
  this.child,
});