ContextMenuButton constructor

const ContextMenuButton({
  1. Key? key,
  2. required String label,
  3. Widget? trailing,
  4. Widget? inverted,
  5. bool? enlarged,
  6. void onPressed()?,
  7. Widget? spacer,
  8. Widget? spacerInverted,
})

Implementation

const ContextMenuButton({
  super.key,
  required this.label,
  this.trailing,
  this.inverted,
  this.enlarged,
  this.onPressed,
  this.spacer,
  this.spacerInverted,
});