animatePosition

fun animatePosition(target: Double, duration: Double = 0.25)(source)

moves the splitter to target over duration seconds