ModeExtension extension

Check the current theme mode of the application.

on

Properties

isDark bool
Returns true if the current theme mode is dark.
no setter
isLight bool
Returns true if the current theme mode is light.
no setter
mode Brightness
Returns the current platform brightness of the application.
no setter