mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
428 B
17 lines
428 B
3 years ago
|
import 'package:flame/game.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:pinball/game/game.dart';
|
||
|
|
||
|
class PinballGamePage extends StatelessWidget {
|
||
|
const PinballGamePage({Key? key}) : super(key: key);
|
||
|
|
||
|
static Route route() {
|
||
|
return MaterialPageRoute<void>(builder: (_) => const PinballGamePage());
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return GameWidget(game: PinballGame());
|
||
|
}
|
||
|
}
|