Skip to content

tutorial refers to wrong class #13134

@Myk-edu

Description

@Myk-edu

Page URL

https://docs.flutter.dev/learn/pathway/tutorial/devtools

Page source

https://github.com/flutter/website/blob/main/src/content/learn/pathway/tutorial/devtools.md

Describe the problem

tutorial says "If you select a Tile widget in the widget inspector, the property editor would show you its width (60), height (60), and the decoration property."
but i see those as properties of the Container, not The tile, which has letter and hitType.

I'm just a beginner with flutter, but no experts are likely to be reading this. So is it wrong?
Also a typo in the code?
const Tile(required this.letter, required hitType, {super.key});
should be this.hitType

Expected fix

"container widget inside a tile" ?

Additional context

In another context, this might be an obvious typo. But in a beginner tutorial, it is confusing.

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

Labels

a.tut.tutorialRelates to the Tutorial section of docs.flutter.deve0-minutesEffort: < 60 minfrom.page-issueReported in a reader-filed concernp1-highMajor but not urgent concern: Resolve in months. Update each month.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions