Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote widget #155

Open
lesleysin opened this issue Jan 17, 2025 · 0 comments
Open

Remote widget #155

lesleysin opened this issue Jan 17, 2025 · 0 comments
Labels
feature New feature or request widget issue requires adding a new widget

Comments

@lesleysin
Copy link
Member

Description

Current behavior:
Duit requests from the server or receives a layout via a static constructor. The layout is a JSON that broadly describes a single widget (the root widget).

Proposal:
Implement a new type of widget (RemoteWidget) that is capable of requesting its own content on its own.

This will allow you to implement scenarios for dynamically loading parts of layouts, reducing the initial JSON size e.g. bottom sheet content, hidden content or PageView pages.

This issue affects other repositories. To successfully solve the problem, you also need to add updates to the appropriate packages

Affected packages:

@lesleysin lesleysin added feature New feature or request widget issue requires adding a new widget labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request widget issue requires adding a new widget
Projects
None yet
Development

No branches or pull requests

1 participant