DarkMode extension

Check if the device is in Dark Mode

on

Properties

isDeviceInDarkMode bool
Example if (context.isDeviceInDarkMode) { do something here... }
no setter