Skip to content

FAQ request: why is the build() method on State, and not StatefulWidget ? #8794

@sethladd

Description

@sethladd

This comes up often when users are learning our framework. At our recent event, multiple Flutter team members didn't have a canned response to this FAQ.

Suggestion: Add this to our FAQ so for the next event, or next time this pops up in a chat or a conversation with a new user, we can point to our answer.

Can someone write up an answer to "Why is the build() method on State, and not StatefulWidget?" and we'll add it to the FAQ.

Thanks!

Metadata

Metadata

Assignees

Labels

from: studyReported in a UX study

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions