FDividerStyles.inherit constructor
FDividerStyles.inherit({
- required FColorScheme colorScheme,
- required FStyle style,
Creates a FDividerStyles that inherits its properties from colorScheme
and style
.
Implementation
FDividerStyles.inherit({required FColorScheme colorScheme, required FStyle style})
: this(
horizontalStyle: FDividerStyle.inherit(
colorScheme: colorScheme,
style: style,
padding: FDividerStyle.defaultPadding.horizontalStyle,
),
verticalStyle: FDividerStyle.inherit(
colorScheme: colorScheme,
style: style,
padding: FDividerStyle.defaultPadding.verticalStyle,
),
);