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.
19 lines
375 B
19 lines
375 B
import 'package:flutter/material.dart';
|
|
|
|
class GameOverDialog extends StatelessWidget {
|
|
const GameOverDialog({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const Dialog(
|
|
child: SizedBox(
|
|
width: 200,
|
|
height: 200,
|
|
child: Center(
|
|
child: Text('Game Over'),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|