BrightnessX extension

on

Properties

isDark → bool

Available on Brightness, provided by the BrightnessX extension

Check if the brightness is dark or not.
no setter

Methods

resolve<T>(T light, T dark) → T

Available on Brightness, provided by the BrightnessX extension

Resolves the given colors based on the current brightness.