FDividerStyle.inherit constructor
FDividerStyle.inherit({
- required FColorScheme colorScheme,
- required FStyle style,
- required EdgeInsetsGeometry padding,
Creates a FDividerStyle that inherits its properties from colorScheme
, style
, and padding
.
Implementation
FDividerStyle.inherit({
required FColorScheme colorScheme,
required FStyle style,
required EdgeInsetsGeometry padding,
}) : this(
color: colorScheme.secondary,
padding: padding,
width: style.borderWidth,
);