MenuBar constructor

const MenuBar({
  1. Key? key,
  2. MenuStyle? style,
  3. Clip clipBehavior = Clip.none,
  4. MenuController? controller,
  5. required List<Widget> children,
})

Creates a const MenuBar.

The children argument is required.

Implementation

const MenuBar({
  super.key,
  this.style,
  this.clipBehavior = Clip.none,
  this.controller,
  required this.children,
});