SContextMenuTheme constructor
const
SContextMenuTheme({
- double panelBorderRadius = 8,
- double panelBlurSigma = 20,
- EdgeInsets panelPadding = const EdgeInsets.symmetric(vertical: 0),
- Color? panelBackgroundColor,
- Color? panelBorderColor,
- List<
BoxShadow> ? panelShadows, - ArrowShape arrowShape = ArrowShape.smallTriangle,
- double arrowBaseWidth = 10,
- double arrowCornerRadius = 4,
- double arrowTipGap = 2,
- double arrowMaxLength = 2,
- double arrowTipRoundness = 5,
- Duration showDuration = const Duration(milliseconds: 200),
- Duration hideDuration = const Duration(milliseconds: 150),
- Color? iconColor,
- Color? destructiveColor,
- Color? hoverColor,
- 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,
});