FontStyles extension

Converts a textStyle to the desired font style.

Example usage: context.textStyles.bodyLarge.italic

on

Properties

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