MiuixOverlayIconDropdownMenu constructor
const
MiuixOverlayIconDropdownMenu({
- Key? key,
- required MiuixDropdownEntry? entry,
- bool enabled = true,
- double? maxHeight,
- MiuixDropdownColors? dropdownColors,
- bool renderInRootScaffold = true,
- bool? collapseOnSelection = true,
- ValueChanged<
bool> ? onExpandedChange, - Color? backgroundColor,
- double cornerRadius = MiuixIconButtonDefaults.cornerRadius,
- double minHeight = MiuixIconButtonDefaults.minHeight,
- double minWidth = MiuixIconButtonDefaults.minWidth,
- required Widget child,
Implementation
const MiuixOverlayIconDropdownMenu({
super.key,
required this.entry,
this.enabled = true,
this.maxHeight,
this.dropdownColors,
this.renderInRootScaffold = true,
this.collapseOnSelection = true,
this.onExpandedChange,
this.backgroundColor,
this.cornerRadius = MiuixIconButtonDefaults.cornerRadius,
this.minHeight = MiuixIconButtonDefaults.minHeight,
this.minWidth = MiuixIconButtonDefaults.minWidth,
required this.child,
}) : entries = const <MiuixDropdownEntry>[];