SContextMenuTheme constructor

const SContextMenuTheme({
  1. double panelBorderRadius = 8,
  2. double panelBlurSigma = 20,
  3. EdgeInsets panelPadding = const EdgeInsets.symmetric(vertical: 0),
  4. Color? panelBackgroundColor,
  5. Color? panelBorderColor,
  6. List<BoxShadow>? panelShadows,
  7. ArrowShape arrowShape = ArrowShape.smallTriangle,
  8. double arrowBaseWidth = 10,
  9. double arrowCornerRadius = 4,
  10. double arrowTipGap = 2,
  11. double arrowMaxLength = 2,
  12. double arrowTipRoundness = 5,
  13. Duration showDuration = const Duration(milliseconds: 200),
  14. Duration hideDuration = const Duration(milliseconds: 150),
  15. Color? iconColor,
  16. Color? destructiveColor,
  17. Color? hoverColor,
  18. Color? arrowColor,
})

Implementation

const SContextMenuTheme({
  this.panelBorderRadius = 8,
  this.panelBlurSigma = 20,
  this.panelPadding = const EdgeInsets.symmetric(vertical: 0),
  this.panelBackgroundColor,
  this.panelBorderColor,
  this.panelShadows,
  this.arrowShape = ArrowShape.smallTriangle,
  this.arrowBaseWidth = 10,
  this.arrowCornerRadius = 4,
  this.arrowTipGap = 2,
  this.arrowMaxLength = 2,
  this.arrowTipRoundness = 5,
  this.showDuration = const Duration(milliseconds: 200),
  this.hideDuration = const Duration(milliseconds: 150),
  this.iconColor,
  this.destructiveColor,
  this.hoverColor,
  this.arrowColor,
});