theta
Prototipagem e teste do seu aplicativo em produção com atualizações instantâneas da interface.
A maneira de design de UI orientada por servidor de código aberto, com atualizações instantâneas. Siga-nos para ficar atualizado sobre nosso Beta.
Texto original em inglês. Visite o GitHub para a versão atual.
Banner
pub github discord contributors
Get started • Documentation • Examples • Community & Support • Website
Design to Flutter in 1 command.
Tree steps:
Theta Studio
Install Theta CLI.
$ dart pub global activate theta_cli
Link a project by its key.
$ theta link -k <anon key>
You can generate files from design by running:
$ theta gen
Theta will generate the following files
- /assets
- /theta_assets
- theta_preload.json
- ... all the media
- /lib
- theta_ui_assets.g.dart
- theta_ui_widgets.g.dart
You can use them as normal widgets:
PaywallWidget(
initialTheme: ThemeMode.light,
)
🟡 Before running your app:
await initializeThetaClient();
assets:
- assets/theta_assets/
There is an option for fetching widgets from the back-end in runtime.
You can easily active it by setting isLive: true.
PaywallWidget(
initialTheme: ThemeMode.light,
isLive: true,
)
By making it live, you can set A/B testing from Theta's editor or update its content in real-time.
See CONTRIBUTING.md for details.
Theta is licensed under the Apache License 2.0. See LICENSE for details.