FPopoverStyle.inherit constructor
FPopoverStyle.inherit({
- required FColorScheme colorScheme,
- required FStyle style,
Creates a FPopoverStyle that inherits its properties from colorScheme
and style
.
Implementation
FPopoverStyle.inherit({required FColorScheme colorScheme, required FStyle style})
: this(
decoration: BoxDecoration(
color: colorScheme.background,
borderRadius: style.borderRadius,
border: Border.all(
width: style.borderWidth,
color: colorScheme.border,
),
boxShadow: shadow,
),
);