glopos 0.1.1 copy "glopos: ^0.1.1" to clipboard
glopos: ^0.1.1 copied to clipboard

View elements in a global scene through local windows. Create effects which visually connect separate UI elements.

glopos on pub.dev LICENSE CI

glopos #

glopos is a UI library which allows you to create visual effects which leverage a Scene of SceneElements and Windows into that Scene.

A Scene is a Widget that establishes a coordinate system for SceneElements and provides a collection of SceneElements in this coordinates system to the Windows in it's subtree.

SceneElements are layed out in the Scene but do not provide a visual representation. That is the role of the WindowDelegate. Every Window has a WindowDelegate which is responsible for providing a visual representation for each SceneElement. Two Windows can have distinct WindowDelegates which represent the overall Scene in a completely different way.

A Window is Widget which can be positioned anywhere in the subtree of a Scene though the normal Flutter layout system. It's position relative to the Scene coordinate system determines which part of the Scene is visible through it.

Prebuilt effects #

The library also contains effects built on top of the core components.

Spotlight #

Illuminate parts of the UI through a globally positioned spotlight.

Spotlight Demo

Getting Started #

Get started by playing with the examples and by taking a look at their source code (examples contain links). The example app has been built for the web and can be opened in any browser.

37
likes
130
pub points
27%
popularity

Publisher

verified publishergabriel.terwesten.net

View elements in a global scene through local windows. Create effects which visually connect separate UI elements.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on glopos