textTheme property

  1. @override
TextTheme get textTheme
override

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();
  }
}