themeServiceProvider top-level property

Provider<ThemeService<ThemeData>> themeServiceProvider
final

Provides the current ThemeService instance.

Implementation

final themeServiceProvider = Provider<ThemeService<ThemeData>>((ref) {
  return StdThemeService();
});