Add a subscriber to dark mode changes and return a function to remove the subscriber
If notifyImmediately is true, the subscriber will be called immediately with the current value
notifyImmediately
true
Optional
Add a subscriber to dark mode changes and return a function to remove the subscriber
If
notifyImmediately
istrue
, the subscriber will be called immediately with the current value