textTheme property
Provides the application's TextTheme
Implementation
@override
TextTheme get textTheme {
try {
return typography.toTextTheme(colorScheme);
} catch (e) {
// Fallback to empty TextTheme to maintain application stability
// during typography conversion failures
return const TextTheme();
}
}