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: ShapeDecoration(
        shape: RoundedSuperellipseBorder(
          side: BorderSide(color: colors.border, width: style.borderWidth),
          borderRadius: style.borderRadius.md,
        ),
        shadows: style.shadow,
        color: colors.card,
      ),
    );