DayNightSwitcher
DayNightSwitcher copied to clipboard
Add option to disabled switch conditionally
Add disable option in the switch to disable it based on a boolean value and also give a visual feedback that the switch is disabled for e.g. reduce opacity. Tried passing null to onStateChanged doesnt work. Have to Wrap it around IgnorePointer widget to acheive the functionality. But visual feedback is still not there.