MiuixOverlayDropdownMenu constructor

const MiuixOverlayDropdownMenu({
  1. Key? key,
  2. required MiuixDropdownEntry? entry,
  3. required String title,
  4. MiuixBasicComponentColors? titleColor,
  5. String? summary,
  6. MiuixBasicComponentColors? summaryColor,
  7. MiuixDropdownColors? dropdownColors,
  8. Widget? startAction,
  9. Widget? bottomAction,
  10. EdgeInsetsGeometry insideMargin = MiuixBasicComponentDefaults.insideMargin,
  11. double? maxHeight,
  12. bool enabled = true,
  13. bool renderInRootScaffold = true,
  14. bool? collapseOnSelection = true,
  15. 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>[];