FPopoverStyle.inherit constructor

FPopoverStyle.inherit({
  1. required FColorScheme colorScheme,
  2. 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,
        ),
      );