generated from me/template-mit
Make the game bord more legible.
This commit is contained in:
@@ -12,36 +12,45 @@ class MainApp extends StatelessWidget {
|
|||||||
return const MaterialApp(
|
return const MaterialApp(
|
||||||
home: Scaffold(
|
home: Scaffold(
|
||||||
body: Row(
|
body: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
// Player 1 Goal
|
// Player 1 Goal
|
||||||
Column(children: [Text("P1")]),
|
Column(children: [Center(child: Text(" P1 "))]),
|
||||||
// Center holes
|
// Center holes
|
||||||
Column(
|
Column(
|
||||||
|
spacing: 2,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
|
spacing: 2,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
Column(children: [Text("0,0")]),
|
Column(children: [Text(" 0,0 ")]),
|
||||||
Column(children: [Text("1,0")]),
|
Column(children: [Text(" 1,0 ")]),
|
||||||
Column(children: [Text("2,0")]),
|
Column(children: [Text(" 2,0 ")]),
|
||||||
Column(children: [Text("3,0")]),
|
Column(children: [Text(" 3,0 ")]),
|
||||||
Column(children: [Text("4,0")]),
|
Column(children: [Text(" 4,0 ")]),
|
||||||
Column(children: [Text("5,0")]),
|
Column(children: [Text(" 5,0 ")]),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
|
spacing: 2,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
Column(children: [Text("0,1")]),
|
Column(children: [Text(" 0,1 ")]),
|
||||||
Column(children: [Text("1,1")]),
|
Column(children: [Text(" 1,1 ")]),
|
||||||
Column(children: [Text("2,1")]),
|
Column(children: [Text(" 2,1 ")]),
|
||||||
Column(children: [Text("3,1")]),
|
Column(children: [Text(" 3,1 ")]),
|
||||||
Column(children: [Text("4,1")]),
|
Column(children: [Text(" 4,1 ")]),
|
||||||
Column(children: [Text("5,1")]),
|
Column(children: [Text(" 5,1 ")]),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
// Player 2 Goal
|
// Player 2 Goal
|
||||||
Column(children: [Text("P2")]),
|
Column(children: [Center(child: Text(" P2 "))]),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user