Skip to content

Instantly share code, notes, and snippets.

@arif-pandu
Created February 19, 2023 00:54
Show Gist options
  • Save arif-pandu/9b6ef2883233fff1a865f876d0bbb51e to your computer and use it in GitHub Desktop.
Save arif-pandu/9b6ef2883233fff1a865f876d0bbb51e to your computer and use it in GitHub Desktop.
Droplets
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