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

Element should have a "design discussion" section talking about build order #51241

Open
Hixie opened this issue Feb 22, 2020 · 2 comments
Open
Labels
d: api docs Issues with https://api.flutter.dev/ framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-framework Owned by Framework team triaged-framework Triaged by Framework team

Comments

@Hixie
Copy link
Contributor

Hixie commented Feb 22, 2020

We should document some of our design decisions about how widgets build:

  • The framework guarantees that ancestors build before descendants.
  • The framework does not guarantee anything about the order other than this.
  • Some widgets might in rare cases build twice, this is considered an aberration to be avoided (layout builder that ends up dirty both at the widget layer and the layout layer is the example).
  • One pass build.

Maybe point to "Inside Flutter" (https://flutter.dev/docs/resources/inside-flutter).

@Hixie Hixie added d: api docs Issues with https://api.flutter.dev/ framework flutter/packages/flutter repository. See also f: labels. labels Feb 22, 2020
@Hixie Hixie added this to the Goals milestone Feb 22, 2020
@Hixie
Copy link
Contributor Author

Hixie commented Feb 22, 2020

cc @rrousselGit @goderbauer

@kf6gpe kf6gpe added the P2 Important issues not at the top of the work list label May 29, 2020
@Hixie Hixie removed this from the None. milestone Aug 17, 2020
@pedromassangocode
Copy link

Can't find any reference about the topics mentioned above in the Inside Flutter link, so I assume this still valid.

@flutter-triage-bot flutter-triage-bot bot added team-framework Owned by Framework team triaged-framework Triaged by Framework team labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d: api docs Issues with https://api.flutter.dev/ framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-framework Owned by Framework team triaged-framework Triaged by Framework team
Projects
None yet
Development

No branches or pull requests

3 participants