flame_bloc 1.4.0 copy "flame_bloc: ^1.4.0" to clipboard
flame_bloc: ^1.4.0 copied to clipboard

Bloc integration to Flame games

example/lib/main.dart

import 'package:flutter/material.dart';
import 'src/game.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: GamePage(),
    );
  }
}