DropDownMenu constructor

const DropDownMenu({
  1. Key? key,
  2. required DropdownMenuController controller,
  3. required List<DropdownMenuBuilder> menus,
  4. int animationMilliseconds = 500,
  5. Color maskColor = const Color.fromRGBO(0, 0, 0, 0.5),
  6. DropdownMenuChange? dropdownMenuChanging,
  7. DropdownMenuChange? dropdownMenuChanged,
})

Creates a dropdown menu widget. The widget must be inside the Stack because the widget is a Positioned.

Implementation

const DropDownMenu({
  Key? key,
  required this.controller,
  required this.menus,
  this.animationMilliseconds = 500,
  this.maskColor = const Color.fromRGBO(0, 0, 0, 0.5),
  this.dropdownMenuChanging,
  this.dropdownMenuChanged,
}) : super(key: key);