Parameter | Description |
---|---|
text | The text associated with the toggle. |
icon | The icon associated with the toggle. |
onIcon | The icon associated with the toggle when the value is true. |
offIcon | The icon associated with the toggle when the value is false. |
Constructor.