Created
February 19, 2023 00:54
-
-
Save arif-pandu/9b6ef2883233fff1a865f876d0bbb51e to your computer and use it in GitHub Desktop.
Droplets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flame/game.dart'; | |
import 'package:flutter/material.dart'; | |
class GameplayScreen extends StatelessWidget { | |
const GameplayScreen({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: GameWidget( | |
game: GameplayFlame(), | |
), | |
); | |
} | |
} | |
class GameplayFlame extends FlameGame {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment