FPopoverMenuStyle.inherit constructor
FPopoverMenuStyle.inherit({
- required FColors colors,
- required FStyle style,
- 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();