Skip to content
CrossFly is 100% open sourceFollow us on GitHub
CrossFlyCrossFly
Get started

This documentation is currently available in Portuguese. English and other languages are on the way.

Cookbook

Recipes · Animations

Fade, looping pulse, moving components and screen transitions with CrossFly's value animators.

How-to🟡
How to apply a transition when opening/closing a screen

Configure a transition (slide, fade, scale) on the WindowStyle before show()/hide() — CrossFly animates the screen change automatically.

How-to🟡
How to create a continuous pulse (loop)

Animate a value in an infinite cycle with LoopAnimation, useful for loading indicators and glow effects.

How-to🟡
How to fade a component in/out

Animate a component's opacity with AlphaAnimation, applying the value via alpha() and repainting on demand.

How-to🟡
How to move a component by animating its position

Slide a component from one point to another with PositionAnimation (linear interpolation in pixels).