flame_bloc 1.12.4 flame_bloc: ^1.12.4 copied to clipboard
Integration for the Bloc state management library to Flame games.
import 'package:flame_bloc_example/src/game.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: GamePage(),
);
}
}