pub fn animate_offset_as_state( target: (f32, f32), spec: AnimationSpec, ) -> Animated<(f32, f32)>
A translation in dp the Renderer animates to whenever target changes. Drawn as a transform, so the layout does not move.
target