DropdownMenu constructor
DropdownMenu({
- Key? key,
- DropdownMenuController? controller,
- Duration showDuration = const Duration(milliseconds: 300),
- Duration hideDuration = const Duration(milliseconds: 150),
- ValueChanged<
int> ? onHide, - double? blur,
- double? packUpHeight,
- double? maxMenuHeight,
- Curve hideCurve = Curves.fastOutSlowIn,
- DropdownMenuShowHideSwitchStyle switchStyle = DropdownMenuShowHideSwitchStyle.animationShowUntilAnimationHideComplete,
- Curve showCurve = Curves.fastOutSlowIn,
Implementation
DropdownMenu({
Key? key,
required this.menus,
DropdownMenuController? controller,
this.showDuration = const Duration(milliseconds: 300),
this.hideDuration = const Duration(milliseconds: 150),
this.onHide,
this.blur,
this.packUpHeight,
this.maxMenuHeight,
this.hideCurve = Curves.fastOutSlowIn,
this.switchStyle: DropdownMenuShowHideSwitchStyle.animationShowUntilAnimationHideComplete,
this.showCurve = Curves.fastOutSlowIn,
}) : super(key: key, controller: controller);