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 = .inherit(colors: colors, style: style, typography: typography).copyWith(
decoration: BoxDecoration(
border: .all(color: colors.border, width: style.borderWidth),
borderRadius: style.borderRadius,
),
),
tileGroupStyle = .inherit(colors: colors, style: style, typography: typography),
maxWidth = 250,
super.inherit();