FontStyles extension

Converts in a simple way a textStyle to the desired font style.

Example usage: context.textStyles.h1.italic

on

Properties

italic TextStyle

Available on TextStyle, provided by the FontStyles extension

Use glyphs designed for slanting
no setter
normal TextStyle

Available on TextStyle, provided by the FontStyles extension

Use the upright glyphs
no setter