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

Better document the sync generator syntax. #45

Closed
schultek opened this issue Nov 28, 2022 · 0 comments
Closed

Better document the sync generator syntax. #45

schultek opened this issue Nov 28, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@schultek
Copy link
Owner

Developers that are new to dart are often not familiar with the sync generator syntax that is recommended in jaspr for custom components.

This syntax should be better documented as the 'recommended' but more advanced syntax, together with an alternative 'easy' syntax using normal list expressions.

Additionally, we could introduce SingleChildStatelessComponent and SingleChildStatefulComponent to have the same build signature as flutter widgets. This would allow an easier transition for developers coming from flutter.

@schultek schultek added the documentation Improvements or additions to documentation label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant