textTheme property Null safety

TextTheme textTheme

Helper to get the TextTheme.

Implementation

TextTheme get textTheme => Theme.of(context).textTheme;