XMenuPopupStyle constructor

const XMenuPopupStyle({
  1. BoxDecoration? decoration,
  2. Widget seperator(
    1. BuildContext,
    2. int
    ) = defaultSeperator,
  3. TextStyle? defaultTextStyle,
  4. EdgeInsetsGeometry padding = const EdgeInsets.all(8),
  5. double? maxHeight,
  6. 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,
});