wait_for_animation
Pump frames for a set duration to advance animations like hero transitions or custom controllers, preventing pumpAndSettle timeouts.
Instructions
Pumps frames for a specified duration without waiting for all animations to settle. Useful for hero transitions, page animations, or custom animation controllers where pumpAndSettle would time out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_ms | No | Duration in milliseconds to pump frames (default 500). Frames are pumped at ~60fps. |