FPopoverStyle.inherit constructor

FPopoverStyle.inherit({
  1. required FColors colors,
  2. required FStyle style,
})

Creates a FPopoverStyle that inherits its properties.

Implementation

FPopoverStyle.inherit({required FColors colors, required FStyle style})
  : this(
      decoration: BoxDecoration(
        color: colors.background,
        borderRadius: style.borderRadius,
        border: Border.all(width: style.borderWidth, color: colors.border),
        boxShadow: style.shadow,
      ),
    );