Skip to content

Missing import reference #13189

@chrsdtmp

Description

@chrsdtmp

Page URL

https://docs.flutter.dev/learn/pathway/tutorial/widget-fundamentals

Page source

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

Describe the problem

When downloading the game.dart file into the directory, the tutorial starts to costumize the main.dart file. However around Step 6: Child Widgets the tutorial says to hot restart. But there is no import reference to the game.dart so the constant 'HitType' is unknown.

Expected fix

A line in the code on the main.dart file should be added: 'import 'game.dart';'

Additional context

No response

I would like to fix this problem.

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

Metadata

Metadata

Assignees

Labels

from.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions