Skip to content

Commit

Permalink
Update step_1.md to include imports for Canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Loubear111 authored Oct 23, 2024
1 parent 291af57 commit 8860ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/tutorials/space_shooter/step_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ implemented as follows:

```dart
import 'package:flame/components.dart';
import 'package:flutter/painting.dart';
class Player extends PositionComponent {
static final _paint = Paint()..color = Colors.white;
Expand Down

0 comments on commit 8860ad0

Please sign in to comment.