getMode static method

AvailableTheme getMode(
  1. BuildContext context
)

Implementation

static AvailableTheme getMode(BuildContext context) =>
    AvailableTheme.export.firstWhere((AvailableTheme e) =>
        e.id == ThemeProvider.themeOf(context).id);