ifCurrentThemeIs static method

bool ifCurrentThemeIs(
  1. Map<ThemeRef, Object> theme
)

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