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

Integration for the Bloc state management library to Flame games.

example/lib/main.dart

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(),
    );
  }
}
46
likes
160
points
1.48k
downloads

Publisher

verified publisherflame-engine.org

Weekly Downloads

Integration for the Bloc state management library to Flame games.

Repository (GitHub)
View/report issues
Contributing

Topics

#flame #state-management

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

MIT (license)

Dependencies

bloc, flame, flutter, flutter_bloc, meta

More

Packages that depend on flame_bloc