FSidebarStyle.inherit constructor

FSidebarStyle.inherit({
  1. required FColors colors,
  2. required FTypography typography,
  3. required FStyle style,
})

Creates a FSidebarStyle that inherits its properties.

Implementation

FSidebarStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
  : this(
      decoration: BoxDecoration(
        color: colors.background,
        border: BorderDirectional(
          end: BorderSide(color: colors.border, width: style.borderWidth),
        ),
      ),
      groupStyle: FSidebarGroupStyle.inherit(colors: colors, typography: typography, style: style),
    );