Skip to content

A better way to explain how Counter "delegates" ? #41

Description

@sethladd

From http://flutter.io/tutorial/

"Notice how Counter now delegates responsibility for incrementing and displaying the counter value down to CounterIncrementor and CounterDisplay, respectively."

Is delegates the right word here? Looking at Counter, all it does is create _CounterState.

Maybe: "Notice how we created two new stateless components, cleaning separating the concerns of displaying the counter (CounterDisplay) and changing the counter (CounterIncrementor)."

Thoughts?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions