GZXDropDownMenu constructor

GZXDropDownMenu({
  1. Key? key,
  2. required GZXDropdownMenuController controller,
  3. required List<GZXDropdownMenuBuilder> menus,
  4. int animationMilliseconds = 500,
  5. double bottomRadis = 6.0,
  6. Color maskColor = const Color.fromRGBO(0, 0, 0, 0.5),
  7. DropdownMenuChange? dropdownMenuChanging,
  8. 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);