isDark property

bool get isDark

Implementation

bool get isDark => backgroundColor!.computeLuminance() < 0.5;