pub fn animate_x(obj: impl Widget, to: i32, duration_ms: u32)
Animate an object’s X position to to over duration_ms (ease-out).
to
duration_ms