Skip to content
Lucy Platform

Insights

Lucy SDK, the engine that runs your screens

Once you have built a screen in Lucy Studio, you need to run it in a real app. Lucy SDK is the execution engine that shows data on that screen and runs the defined action when a button is tapped.

Lucy SDK is a Flutter-based engine that runs the screens and actions built in Lucy Studio on the user's device. The SDK included in the app reads the screen definition and renders it as Flutter widgets, running screens without relying on a web view.

How screens run inside an app

A screen built in Lucy Studio is saved as a definition of its structure, data connections and actions. Lucy SDK interprets and executes these definitions.

The SDK consists of Lucy Framework, which handles rendering and data connections; Lucy Engine, which controls execution; and Lucy Script Engine, which handles actions written in JavaScript. Lucy Player receives the screen definitions and changed files delivered to the app and applies them to the runtime environment.

Separating how screens are defined from how they run in a real app is the core structure of Lucy SDK.

An execution structure for data-heavy screens

Financial apps must show real-time quotes, charts and data for many stocks on screen. Because the data changes often, the structure that runs the screen matters as well.

Lucy SDK uses a natively compiled, Flutter-based runtime and is built to prepare the definitions and widget connections of multiple screens in parallel.

This gives financial services that need real-time data and complex screen layouts a common runtime they can build on.

How screens, data and actions connect

Lucy SDK runs the data connections and user actions defined in Studio in the real app.

Data delivered through an API or socket is connected to widgets on the screen through providers and data binding. Actions triggered by user events such as button taps are handled by Lucy Script Engine in JavaScript.

For example, a real-time quote screen can connect each stock's price and change to data, and open a detail screen when the user selects a stock.

A common runtime for many devices

Mobile and desktop differ not only in screen size but also in the app lifecycle, permissions and input methods.

Lucy SDK handles these differences in a common layer, reducing the work of implementing the same thing again for each platform. Supported features and screen layouts may still vary by target platform.

Just as a blueprint still has to be built into a real space, a screen made in Studio has to run on the user's device. Lucy SDK is the execution engine that connects that design to the screens and actions of a real app.

Bring your next idea into focus