AppMenuItem constructor

const AppMenuItem({
  1. Key? key,
  2. required String label,
  3. IconData? leadingIcon,
  4. IconData? trailingIcon,
  5. String? supportingText,
  6. bool showDivider = false,
  7. bool selected = false,
  8. bool enabled = true,
  9. bool bold = false,
  10. VoidCallback? onTap,
})

Implementation

const AppMenuItem({
  super.key,
  required this.label,
  this.leadingIcon,
  this.trailingIcon,
  this.supportingText,
  this.showDivider = false,
  this.selected = false,
  this.enabled = true,
  this.bold = false,
  this.onTap,
});