XMenuPopupStyle constructor
const
XMenuPopupStyle({
- BoxDecoration? decoration,
- Widget seperator() = defaultSeperator,
- TextStyle? defaultTextStyle,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8),
- double? maxHeight,
- Color? defaultIconColor,
Implementation
const XMenuPopupStyle({
this.decoration,
this.seperator = defaultSeperator,
/// Default value is [Typography.blackCupertino.bodyMedium]
this.defaultTextStyle,
/// Default value is 8.padding
this.padding = const EdgeInsets.all(8),
/// Default value is 40% of the screen height
this.maxHeight,
/// Default value is [ThemeData.iconTheme.color]
this.defaultIconColor,
});