textTheme function
textTheme this will help you to access any predefined text themes
Implementation
TextTheme textTheme(BuildContext context) => Theme.of(context).textTheme;
textTheme this will help you to access any predefined text themes
TextTheme textTheme(BuildContext context) => Theme.of(context).textTheme;