mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-12 10:28:39 +08:00
* adding some code for flame bloc * feat: adding bloc * feat: flame bloc API and examples * improving subscriptions and cleaning of subscriptions * fixing and adding tests * more tests and things * lints * Update packages/flame/lib/src/components/component.dart Co-authored-by: Luan Nico <luanpotter27@gmail.com> * fixing some PR comments and adding a better readme * many issues fixed * fixing some additional issues * improving example * adding dart code metrics back * fixing lints * fix lint again * linti again * fix dartdoc * removing cleanComponent * Apply suggestions from code review Co-authored-by: Luan Nico <luanpotter27@gmail.com> * Luan's trailling commas * Update packages/flame_test/lib/src/flame_test.dart Co-authored-by: Luan Nico <luanpotter27@gmail.com> * Update packages/flame_bloc/README.md Co-authored-by: Felix Angelov <felangelov@gmail.com> * Update packages/flame/CHANGELOG.md Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net> * Apply suggestions from code review Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net> * Update packages/flame_bloc/lib/src/flame_bloc_game.dart Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net> Co-authored-by: Luan Nico <luanpotter27@gmail.com> Co-authored-by: Felix Angelov <felangelov@gmail.com> Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>
18 lines
309 B
Dart
18 lines
309 B
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(),
|
|
);
|
|
}
|
|
}
|