FPopoverMenuStyle.inherit constructor

FPopoverMenuStyle.inherit({
  1. required FColors colors,
  2. required FStyle style,
  3. required FTypography typography,
})

Creates a FPopoverMenuStyle that inherits its properties.

Implementation

FPopoverMenuStyle.inherit({required super.colors, required super.style, required FTypography typography})
  : itemGroupStyle = FItemGroupStyle.inherit(colors: colors, style: style, typography: typography).copyWith(
      decoration: BoxDecoration(
        border: Border.all(color: colors.border, width: style.borderWidth),
        borderRadius: style.borderRadius,
      ),
    ),
    tileGroupStyle = FTileGroupStyle.inherit(colors: colors, style: style, typography: typography),
    maxWidth = 250,
    super.inherit();