of static method
- BuildContext context
The ThemeData.textTheme property of the ambient Theme.
Equivalent to Theme.of(context).textTheme
.
See also:
- TextTheme.primaryOf, which returns the ThemeData.primaryTextTheme property of the ambient Theme instead.
Implementation
static TextTheme of(BuildContext context) => Theme.of(context).textTheme;