chore: Fix some spelling mistakes (#2148)

Fix all* typos reported by CSpell, and add some more words into the dictionaries.

(Except for two in the flame_isolate/example package).
This commit is contained in:
Pasha Stetsenko
2022-11-06 06:06:44 -08:00
committed by GitHub
parent 9c25e631e2
commit cbfa789e75
39 changed files with 142 additions and 79 deletions

View File

@ -5,7 +5,7 @@ import 'package:flame/game.dart';
import 'package:flame/sprite.dart';
import 'package:flutter/material.dart';
class SpritebatchLoadExample extends FlameGame {
class SpriteBatchLoadExample extends FlameGame {
static const String description = '''
In this example we do the same thing as in the normal sprite batch example,
but in this example the logic and loading is moved into a component that
@ -19,7 +19,7 @@ class SpritebatchLoadExample extends FlameGame {
}
class MySpriteBatchComponent extends SpriteBatchComponent
with HasGameRef<SpritebatchLoadExample> {
with HasGameRef<SpriteBatchLoadExample> {
@override
Future<void> onLoad() async {
final spriteBatch = await gameRef.loadSpriteBatch('boom.png');