Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Add option to disabled switch conditionally #5

@sgshivamgarg8

Description

@sgshivamgarg8

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions