Overview
Stac is a Server-Driven UI (SDUI) framework for Flutter that enables developers to build dynamic, cross-platform applications using JSON configurations in real time. By decoupling the UI logic from the app code, Stac allows designers and content teams to update interfaces without requiring app rebuilds. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for rapidly iterating on user experiences. The framework interprets JSON payloads to render widgets, facilitating seamless collaboration between frontend and backend teams.
Use cases
- Real-time UI updates
- Cross-platform app development
- Collaborative design workflows
- Dynamic content rendering
- Rapid prototyping
- Remote UI configuration
Key features
- JSON-driven UI rendering
- Real-time updates via server
- Multi-platform support
- Widget composition from JSON
- Type-safe JSON schema validation
- Hot reload for UI changes
Suitable for
- Teams with non-developer designers
- Apps requiring frequent UI updates
- Remote-first application architectures
- Content-heavy applications
- Rapid iteration environments
- Server-driven development workflows
Considerations
- Requires backend JSON schema management
- Learning curve for JSON-based widget definitions
- Potential performance overhead with complex JSON
- Limited native widget customization without code
- Dependence on stable server endpoints
- Need for robust error handling in JSON parsing