GZXDropDownMenu constructor
GZXDropDownMenu({
- Key? key,
- required GZXDropdownMenuController controller,
- int animationMilliseconds = 500,
- double bottomRadis = 6.0,
- 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
GZXDropDownMenu({
Key? key,
required this.controller,
required this.menus,
this.animationMilliseconds = 500,
this.bottomRadis = 6.0,
this.maskColor = const Color.fromRGBO(0, 0, 0, 0.5),
this.dropdownMenuChanging,
this.dropdownMenuChanged,
}) : super(key: key);