FResizableStyle.inherit constructor

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

Creates a FResizableStyle that inherits its properties.

Implementation

FResizableStyle.inherit({required FColors colors, required FStyle style})
  : this(
      horizontalDividerStyle: FResizableDividerStyle(
        color: colors.border,
        focusedOutlineStyle: style.focusedOutlineStyle,
        thumbStyle: FResizableDividerThumbStyle(
          decoration: BoxDecoration(color: colors.border, borderRadius: style.borderRadius),
          foregroundColor: colors.foreground,
          height: 20,
          width: 10,
        ),
      ),
      verticalDividerStyle: FResizableDividerStyle(
        color: colors.border,
        focusedOutlineStyle: style.focusedOutlineStyle,
        thumbStyle: FResizableDividerThumbStyle(
          decoration: BoxDecoration(color: colors.border, borderRadius: style.borderRadius),
          foregroundColor: colors.foreground,
          height: 10,
          width: 20,
        ),
      ),
    );