FLUTTER ECOSYSTEM

dynamic_widget

A Backend-Driven UI toolkit, build your dynamic UI with json, and the json format is very similar with flutter widget code。

dynamic_widget cover
Latest version
6.0.0
30-day downloads
426
Likes
452
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Dynamic Widget is a backend-driven UI toolkit that enables developers to build dynamic user interfaces using JSON. The JSON structure closely mirrors Flutter widget code, making it intuitive for Flutter developers to design and render UIs programmatically from server responses. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, allowing consistent UI rendering across environments. This package simplifies the creation of flexible, data-driven interfaces without requiring app updates for UI changes.

Use cases
  • Server-driven UI updates
  • Rapid prototyping with JSON
  • Cross-platform dynamic layouts
  • In-app content customization
  • Remote UI configuration
  • Reducing app size by offloading UI logic
Key features
  • JSON-based widget definition
  • Flutter-like syntax in JSON
  • Multi-platform support
  • Extensible widget registry
  • Runtime widget rendering
  • Hot reload for JSON changes
Suitable for
  • Developers building server-driven apps
  • Teams needing frequent UI updates
  • Apps with personalized content per user
  • Projects requiring rapid UI iteration
  • Frontend teams working with backend designers
Considerations
  • Requires careful JSON schema management
  • Potential performance overhead with complex widgets
  • Security risks with untrusted JSON sources
  • Limited debugging for malformed JSON
  • Needs proper error handling at runtime
  • Depends on consistent backend-to-frontend contract
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add dynamic_widget

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects