패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.