animate State Transition
open override fun animateStateTransition(layout: ResponsivePaneLayout, toState: PaneState, skipAnimation: Boolean, callback: ResponsivePaneSlideOffsetCallback?, onAnimationEnd: () -> Unit)
Moves the drawer in layout to toState.
Parameters
skip Animation
whether to move immediately to the final width.
callback
optional listener for width progress.
on Animation End
transition-end callback; implementations may also invoke it on cancellation. The resize strategy does not invoke it if no drawer is available.