FHeaderActionStyle.inherit constructor

FHeaderActionStyle.inherit({
  1. required FColorScheme colorScheme,
  2. required FStyle style,
  3. required double size,
})

Creates a FHeaderActionStyle that inherits its properties from the given FColorScheme.

Implementation

FHeaderActionStyle.inherit({required FColorScheme colorScheme, required FStyle style, required this.size})
    : enabledColor = colorScheme.foreground,
      disabledColor = colorScheme.disable(colorScheme.foreground),
      focusedOutlineStyle = style.focusedOutlineStyle;