FontStyles extension Null safety

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
read-only
normal TextStyle
Use the upright glyphs
read-only