FStyle.inherit constructor

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

Creates an FStyle that inherits its properties.

Implementation

FStyle.inherit({required FColors colors, required FTypography typography})
  : this(
      formFieldStyle: .inherit(colors: colors, typography: typography),
      focusedOutlineStyle: FFocusedOutlineStyle(color: colors.primary, borderRadius: const .all(.circular(8))),
      iconStyle: IconThemeData(color: colors.primary, size: 20),
      tappableStyle: FTappableStyle(),
    );