import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class Game extends StatefulWidget {
@override
_GameState createState() => _GameState();
}
class _GameState extends State<Game> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("JanKenPon")
),
body: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Padding(
padding: EdgeInsets.only(top: 24, bottom: 8),
child: Text(
"App choice",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold
),
),
),
Image.asset("images/base.png", height: 80,),
Padding(
padding: EdgeInsets.only(top: 24, bottom: 8),
child: Text(
"Batle field",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold
),
),
),
Image.asset("images/base.png", height: 120,),
Padding(
padding: EdgeInsets.only(top: 24, bottom: 8),
child: Text(
"Choose your option",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold
),
),
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Image.asset("images/rock.png", height: 80,),
Image.asset("images/paper.png", height: 80,),
Image.asset("images/scissors.png", height: 80,),
],
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Image.asset("images/lizard.png", height: 80,),
Image.asset("images/spock.png", height: 80,),
],
),
Padding(
padding: EdgeInsets.only(top: 24, bottom: 8),
child: Text(
"- Points -",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.normal,
),
),
),
]),
);
}
}
Thanks a lot for the blog article. Thanks Again. Really Cool. Marina Archer Laughry
Hello. This post was really motivating, particularly because I was searching for thoughts on this subject last couple of days. Claribel Jerome Simone
I appreciate you sharing this blog article. Really thank you! Keep writing. Anabel Joshua Tani
Enjoyed examining this, very good stuff, thanks . Mallissa Oren Brentt
What a material of un-ambiguity and preserveness of precious know-how about unexpected emotions. Faye Bank Rosel
Pretty! This has been an incredibly wonderful article. Many thanks for supplying these details. Dorothy Ode Dennie
Pretty! This has been an incredibly wonderful article. Thank you for supplying this information. Kalina Saleem Henning
Thanks for sharing, this is a fantastic article. Want more. Megen Humfrid Amund
Your way of describing everything in this piece of writing is really pleasant, every one be able to simply know it, Thanks a lot. Rhoda Car Wolpert
Great article. I will be going through many of these issues as well.. Margo Lodovico Pantin