flutter-duit-bdui

Render backend-provided JSON layouts in Flutter apps via DuitRegistry and XDriver.

21|16|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/xiaoliwanshui/cool-admin-flutter --skill flutter-duit-bdui-xiaoliwanshui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-duit-bdui
Source: https://github.com/xiaoliwanshui/cool-admin-flutter/tree/main/.trae/skills/flutter-duit-bdui
Command: npx skills add https://github.com/xiaoliwanshui/cool-admin-flutter --skill flutter-duit-bdui-xiaoliwanshui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enable Flutter apps to render backend-provided UIs and data layouts without requiring frequent app releases.

Core Features & Use Cases

  • Backend-driven UI with server-supplied JSON layouts
  • Multiple transport options (HTTP, WebSocket, Static)
  • Custom widgets and themes integration
  • Real-time UI updates and dynamic layout changes

Quick Start

Initialize Duit in your Flutter project, wire a DuitViewHost with a suitable driver, and render server-provided layouts.

Frequently Asked Questions about flutter-duit-bdui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render backend-driven UI in Flutter without releasing a new app version?

Backend-driven UI in Flutter is enabled by the flutter_duit dependency, which processes server-supplied JSON layouts via a DuitViewHost. This decouples UI updates from mobile app releases by fetching and rendering layouts dynamically.

What transport options can I use for real-time UI updates in a Flutter backend-driven UI setup?

Flutter backend-driven UI setups support HTTP, WebSocket, and Static transports defined via a compatible XDriver. These options manage data flow to enable real-time UI updates and dynamic layout changes from the server.

How do I integrate custom widgets and themes into a Flutter backend-driven UI system?

Integrating custom widgets and themes requires initializing DuitRegistry during setup to optionally register custom components. This allows server-provided JSON layouts to render using your specific widgets and apply your desired theming.

Does implementing backend-driven UI in Flutter require modifying existing widgets?

Implementing backend-driven UI in Flutter requires adding the flutter_duit dependency and initializing DuitRegistry, not modifying existing widgets. You wrap rendering logic in a DuitViewHost and optionally register custom widgets for backend control.

What is the best way to handle dynamic layout changes in Flutter apps?

Handling dynamic layout changes is best achieved using a backend-driven UI approach with flutter_duit, utilizing WebSocket or HTTP drivers to push server-supplied JSON layouts. This enables instant layout updates without app store deployments.