Skip to content

Instantly share code, notes, and snippets.

@vbalagovic
Created March 3, 2023 14:09
Show Gist options
  • Save vbalagovic/ed1f119ac12000fd395a8b7a60ceec98 to your computer and use it in GitHub Desktop.
Save vbalagovic/ed1f119ac12000fd395a8b7a60ceec98 to your computer and use it in GitHub Desktop.
void main() {
runApp(const MortalKombatGame());
}
class MortalKombatGame extends StatefulWidget {
const MortalKombatGame({super.key});
@override
State<MortalKombatGame> createState() => _MortalKombatGameState();
}
class _MortalKombatGameState extends State<MortalKombatGame> {
final game = MortalKombat();
@override
Widget build(BuildContext context) {
return GameWidget(
game: game,
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment