getCurrentTheme static method
ThemeData
getCurrentTheme({
- @Deprecated('No longer needed; the theme can be read without a BuildContext.') BuildContext? context,
Returns the ThemeData currently applied.
Throws AppThemeException if init has not completed.
Implementation
static ThemeData getCurrentTheme({
@Deprecated('No longer needed; the theme can be read without a BuildContext.') BuildContext? context,
}) =>
_requireBloc().state.themeData;