Set swipeToClose property.
Whether the flap can be closed with a swipe gesture.
The area that can be swiped depends on the property@Flap:transition-type value.
Deprecated: See the migration guide
Set swipeToClose property.