clear State
Remove one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Parameters
state
The states to clear. E.g LV_STATE_PRESSED or LV_STATE_FOCUSED.
Remove a state from the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Parameters
state
The state to clear. E.g LvglState.FOCUSED.