isLight static method

bool isLight(
  1. BuildContext context
)

Implementation

static bool isLight(md.BuildContext context) {
  return Theme.of(context).brightness == md.Brightness.light;
}