BrightnessExtension extension

on

Properties

isDark → bool

Available on Brightness, provided by the BrightnessExtension extension

Detects when the theme is dark or not, if so returns true
no setter
isLight → bool

Available on Brightness, provided by the BrightnessExtension extension

Detects when the theme is light or not, if so returns true
no setter
opposite → Brightness

Available on Brightness, provided by the BrightnessExtension extension

Reverse brightness in the current state
no setter