pub fn use_animate_with( cx: &mut Cx<'_, '_>, on: bool, time: f32, easing: fn(f32) -> f32, ) -> f32
use_animate with an easing of the caller’s choosing (egui::emath::easing).
use_animate
egui::emath::easing