FDividerStyle.inherit constructor

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