Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/content/learn/pathway/tutorial/widget-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Before you move on, you need to add this logic to your app.
1. Download the file below and save it
as `lib/game.dart` in your project directory.
1. Import the file in your `lib/main.dart` file.
Open `lib/main.dart` and add this line `import 'game.dart';`
after the first import.

<DownloadableSnippet src="tutorial/game-code.dart" name="game.dart" />

Expand Down
Loading