DropDownMenu constructor
const
DropDownMenu({
- Key? key,
- required DropdownMenuController controller,
- int animationMilliseconds = 500,
- Color maskColor = const Color.fromRGBO(0, 0, 0, 0.5),
- DropdownMenuChange? dropdownMenuChanging,
- 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);