isUsingDark static method
Implementation
static bool isUsingDark(BuildContext context) {
final theme = of(context);
if (theme == null) return false;
return theme.isUsingDark;
}
static bool isUsingDark(BuildContext context) {
final theme = of(context);
if (theme == null) return false;
return theme.isUsingDark;
}