搜索插件、代码仓与 APP 分类

插件详情v0.6.0

divkit

开源的SDUI框架,用于服务器驱动的应用更新、快速UI原型设计和跨平台布局。

AndroidiOSmacOSWindowsLinux
近 30 天下载
495
喜欢数
65
Pub 分数
130

安装插件

flutter pub add divkit

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

DivKit 是一个开源的 SDUI(服务器驱动 UI)框架,支持服务器驱动的应用更新、快速 UI 原型设计以及跨平台的一致布局。它允许开发者在服务器上定义 UI 组件,并在 Android、iOS、macOS、Windows 和 Linux 上的 Flutter 应用中动态渲染。通过将 UI 逻辑与客户端解耦,DivKit 支持无需重新部署应用即可实时更改设计。该框架可通过简单的 pub add 命令无缝集成到 Flutter 中,并为需要敏捷 UI 迭代和集中化设计控制的团队提供灵活且可扩展的解决方案。

适合场景

  • 无需应用发布即可动态更新用户界面
  • 新界面设计的快速原型制作
  • 跨平台 UI 一致性
  • A/B测试与实时UI变体
  • 跨团队的集中化设计管理

主要特点

  • 服务器驱动的UI渲染
  • 多平台支持(Android、iOS、macOS、Windows、Linux)
  • 通过服务器配置实现实时UI更新
  • 内置布局和组件库
  • 通过 pub 包轻松集成 Flutter

适合对象

  • 需要频繁更新UI的团队
  • 产品设计师与开发人员协作
  • 需要 A/B 测试功能的应用程序
  • 优先考虑跨平台一致性的项目
  • 专注于快速迭代的开发团队

使用建议

  • 需要后端基础设施来配置UI
  • 服务器驱动架构的学习曲线
  • 服务器端UI渲染可能存在的延迟
  • 对复杂原生交互的自定义有限
  • 对稳定服务器通信的依赖

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

DivKit Playground app

GitHub Stars License

DivKit 🐋 is an open source Server-Driven UI (SDUI) framework. It allows you to roll out server-sourced updates to different app versions. Also, it can be used for fast UI prototyping, allowing you to write a layout once and then ship it to iOS, Android, and Web platforms. DivKit is an excellent choice to start using server-driven UI in your project because it can be easily integrated as a simple view in any part of your app. At the starting point, you don’t need a server integration. You can include all JSON on the client-side to try it in a real-world application.

Also, we’ve made a sandbox for you to experiment with. You can try different samples in the web editor and see the results on the web or in the Android demo app, both of which are available on Google Play. We’ll publish the iOS demo app shortly. The UI in the demo can be updated live: the sandbox connects to the demo app via web sockets. You can use the DivKit website to find a lot of handy samples and documentation, but feel free to ask us anything here in the comments or via the Telegram community chat.

Documentation | Medium tutorial | Habr tutorial

Telegram: English-speaking chat | Чат на русском

Our clients

Yandex Browser Yandex Search Yandex Music Alice Voice Assistant Yandex Market Zen Smart Camera Yandex Realty Edadeal Mobile Ads SDK Yandex bank

Demo App

Get it on Google Play

Project structure

Client

Client side libraries for rendering UI on Android, iOS and Web.

Android, iOS, Web

Json-builder

Server side libraries for building JSON in DivKit format.

TypeScript, Kotlin, Python

Schema

JSON schema that describes DivKit data format.

Api Generator

Used for generating general Api for all platforms from Schema.

Test data

Samples and test data.

所属分类

依赖

依赖清单 10 项

源码仓库

使用此插件的项目

暂无相关数据。