FResizableStyle.inherit constructor
FResizableStyle.inherit({
- required FColorScheme colorScheme,
- required FStyle style,
Creates a FResizableStyle that inherits its properties from colorScheme
.
Implementation
FResizableStyle.inherit({required FColorScheme colorScheme, required FStyle style})
: this(
horizontalDividerStyle: FResizableDividerStyle(
color: colorScheme.border,
focusedOutlineStyle: style.focusedOutlineStyle,
thumbStyle: FResizableDividerThumbStyle(
backgroundColor: colorScheme.border,
foregroundColor: colorScheme.foreground,
height: 20,
width: 10,
),
),
verticalDividerStyle: FResizableDividerStyle(
color: colorScheme.border,
focusedOutlineStyle: style.focusedOutlineStyle,
thumbStyle: FResizableDividerThumbStyle(
backgroundColor: colorScheme.border,
foregroundColor: colorScheme.foreground,
height: 10,
width: 20,
),
),
);