isSystemInDarkTheme

Registers listener for configuration changes to retrieve whether system is in dark theme or not. Immediately upon subscribing, it sends the current value and then registers listener for changes.


Returns true if the system is currently in a dark theme.

See also