Liquid Glass Easy

API reference

Every public type the package exports, with its parameters and defaults.

The view#

The capture pipeline the Skia and web backends need, and its controllers.

The lens and its style#

One widget and the descriptor that decides how it looks: shape, appearance, refraction, and the value objects underneath them.

Combining lenses#

Three ways several lenses can share one read of the backdrop, or fuse into one surface.

Touch and motion#

How a surface answers a finger, and the moving-glass model the slider and the nav pill are built from.

Adaptivity and legibility#

Glass that reads what is behind it and flips its tint and its content colour, plus the scroll edge that keeps floating chrome legible.

Components#

The drop-in controls: buttons, dialogs, sheets, the slider, the switch and the morph.

App chrome#

The scaffold, the bars that float over a page, and the glyph slots every icon in them accepts.

Shape helpers#

The free functions the renderers use to clip and trace a lens outline. Exported because both halves of the library need them; you will rarely call one directly.

Comments

Comments are GitHub Discussions — reply from either place.