ifCurrentThemeIs static method
Returns true if the given theme is equal to the current one.
Note: To check if the default them is being used, do: ifThemeIs({})
.
Implementation
static bool ifCurrentThemeIs(Map<ThemeRef, Object> theme) => _ifCurrentThemeIs(theme);