isLight static method

bool isLight(
  1. Color? color
)

Implementation

static bool isLight(Color? color) => brightness(color) > 0.5;