-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Missing import reference #13189
Copy link
Copy link
Open
Labels
from.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.
Description
Page URL
https://docs.flutter.dev/learn/pathway/tutorial/widget-fundamentals
Page source
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
from.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.