CNPullDownMenuItem constructor

const CNPullDownMenuItem({
  1. required String label,
  2. CNSymbol? icon,
  3. bool enabled = true,
  4. bool isDestructive = false,
  5. String? subtitle,
  6. bool hasNavigation = false,
})

Creates a selectable pull-down menu item.

Implementation

const CNPullDownMenuItem({
  required this.label,
  this.icon,
  this.enabled = true,
  this.isDestructive = false,
  this.subtitle,
  this.hasNavigation = false,
});