isUsingDark static method

bool isUsingDark(
  1. BuildContext context
)

Implementation

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