Skip to content

Commit

Permalink
docs: Fix typo in flame_bloc readme (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
abgutierrez committed Jan 22, 2022
1 parent 20776e8 commit 9bff96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flame_bloc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BlocProvider<ExampleGame>(
To access the bloc from inside your game, the `read` method can be used.

```dart
class ExampleGame example FlameBlocGame {
class ExampleGame extends FlameBlocGame {
void selectWeapon() {
read<InventoryBloc>.add(WeaponSelected('axe'));
}
Expand Down

0 comments on commit 9bff96b

Please sign in to comment.