パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.10.2

theta

UIの即時更新を使って、本番環境でアプリのプロトタイピングとテストを行います。

30日間ダウンロード
152
いいね数
41
Pub ポイント
60

パッケージをインストール

dart pub add theta

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Thetaは、リアルタイムのUI更新を活用した迅速なプロトタイピングおよび本番テストを目的としたFlutterパッケージです。開発者はアプリの再起動なしに、コンポーネントやデザインの変更を即座に試すことができます。既存のFlutterワークフローにスムーズに統合されるため、コンポーネント駆動開発をサポートし、UIの反復とコラボレーションに注力するチームにとって最適です。軽量な性質と即時フィードバックへの焦点が、特にデザインレビューまたは機能検証の際の開発プロセスを効率化します。

用途

  • 迅速なUIプロトタイピング
  • ライブコンポーネントテスト
  • デザインシステム開発
  • 共同UIレビュー
  • 本番に近いテスト

主な機能

  • 即時のUI更新
  • コンポーネント駆動開発
  • Flutterとのシームレスな統合
  • リアルタイムフィードバックループ
  • 必要な最小限のセットアップ

適している対象

  • UIデザイナー
  • フロントエンド開発者
  • プロダクトチーム
  • デザインシステム作成者
  • アジャイル開発チーム

注意事項

  • 本番展開には非対応
  • 開発ワークフローに限定
  • 複雑な設定には手動での構成が必要です
  • ウェブまたはデスクトッププラットフォームに対する公式なサポートはありません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Banner

pub github discord contributors

Get started • Documentation • Examples • Community & Support • Website

Theta

Design to Flutter in 1 command.

  • 🦄 Why? Manually coding the entire UI can be time-consuming and costly. Transform your design into Flutter with just one command.
  • 👥 Who? Individual developers and teams aiming for quicker and more visual UI development.

🧙 Design to Flutter

Tree steps:

  1. Build your UI with Theta.

Theta Studio

  1. Navigate to a Flutter project, and open the terminal:

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
  1. Use the generated UI widgets:

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:

  1. Initialize ThetaClient instance for your project. Write at the root of your app:
await initializeThetaClient();
  1. Add the path in the pubspec.yaml file to theta_assets folder, to access the widget data:
assets: 
    - assets/theta_assets/
Congrats, you have now your UI 🥳

🔴 Live widgets

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.


Contributing

See CONTRIBUTING.md for details.

License

Theta is licensed under the Apache License 2.0. See LICENSE for details.

カテゴリー

依存関係

依存関係一覧 13 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。