MiuixWindowIconDropdownMenu.entries constructor
const
MiuixWindowIconDropdownMenu.entries({
- Key? key,
- required List<
MiuixDropdownEntry> entries, - bool enabled = true,
- double? maxHeight,
- MiuixDropdownColors? dropdownColors,
- bool? collapseOnSelection,
- ValueChanged<
bool> ? onExpandedChange, - Color? backgroundColor,
- double cornerRadius = MiuixIconButtonDefaults.cornerRadius,
- double minHeight = MiuixIconButtonDefaults.minHeight,
- double minWidth = MiuixIconButtonDefaults.minWidth,
- required Widget child,
窗口级图标下拉菜单(多分组)。对应 Kotlin WindowIconDropdownMenu(entries)。
Implementation
const MiuixWindowIconDropdownMenu.entries({
super.key,
required this.entries,
this.enabled = true,
this.maxHeight,
this.dropdownColors,
this.collapseOnSelection,
this.onExpandedChange,
this.backgroundColor,
this.cornerRadius = MiuixIconButtonDefaults.cornerRadius,
this.minHeight = MiuixIconButtonDefaults.minHeight,
this.minWidth = MiuixIconButtonDefaults.minWidth,
required this.child,
}) : entry = null;