MiuixOverlayDropdownMenu constructor
const
MiuixOverlayDropdownMenu({
- Key? key,
- required MiuixDropdownEntry? entry,
- required String title,
- MiuixBasicComponentColors? titleColor,
- String? summary,
- MiuixBasicComponentColors? summaryColor,
- MiuixDropdownColors? dropdownColors,
- Widget? startAction,
- Widget? bottomAction,
- EdgeInsetsGeometry insideMargin = MiuixBasicComponentDefaults.insideMargin,
- double? maxHeight,
- bool enabled = true,
- bool renderInRootScaffold = true,
- bool? collapseOnSelection = true,
- ValueChanged<
bool> ? onExpandedChange,
Implementation
const MiuixOverlayDropdownMenu({
super.key,
required this.entry,
required this.title,
this.titleColor,
this.summary,
this.summaryColor,
this.dropdownColors,
this.startAction,
this.bottomAction,
this.insideMargin = MiuixBasicComponentDefaults.insideMargin,
this.maxHeight,
this.enabled = true,
this.renderInRootScaffold = true,
this.collapseOnSelection = true,
this.onExpandedChange,
}) : entries = const <MiuixDropdownEntry>[];