FDividerStyles.inherit constructor

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