activeTheme abstract method

ThemeData activeTheme([
  1. KEY? themeName
])

Get the active ThemeData depending on ThemeMode.

If themeName is not given the current themeName is used.

If there is no dark theme, the corresponding light theme is return

Implementation

ThemeData activeTheme([KEY? themeName]);