CommandItem constructor

const CommandItem({
  1. Key? key,
  2. Widget? leading,
  3. required Widget title,
  4. Widget? trailing,
  5. VoidCallback? onTap,
})

Implementation

const CommandItem({
  super.key,
  this.leading,
  required this.title,
  this.trailing,
  this.onTap,
});