FontStyles extension

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

Example usage: context.textStyles.h1.italic

on

Properties

italic TextStyle
Use glyphs designed for slanting
no setter
normal TextStyle
Use the upright glyphs
no setter