Skip to content

Commit 63b64a3

Browse files
committed
"Bug fixed"
1 parent 65d054b commit 63b64a3

File tree

4 files changed

+86
-1023
lines changed

4 files changed

+86
-1023
lines changed

Hangman/lib/NextPage.dart

Lines changed: 2 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
55
import 'package:http/http.dart' as http;
66
import 'package:shared_preferences/shared_preferences.dart';
77

8-
import 'Next.dart';
8+
import 'one_player_page.dart';
99

1010
String _email = '';
1111

@@ -85,63 +85,8 @@ class Page11 extends StatelessWidget {
8585
home: Scaffold(
8686
backgroundColor: Color.fromRGBO(81, 23, 19, 5),
8787
body: SafeArea(
88-
// child: Column(
89-
// mainAxisAlignment: MainAxisAlignment.center,
90-
// children: <Widget>[
91-
// Image.asset('images/maingif.gif'),
92-
// Text('HANGMAN',
93-
// style: TextStyle(
94-
// fontFamily: 'Pacifico',
95-
// color: Colors.teal.shade50,
96-
// fontSize: 40,
97-
// fontWeight: FontWeight.bold)),
98-
// MaterialButton(
99-
// child: Text(
100-
// 'PLAY',
101-
// style: TextStyle(fontSize: 40, fontWeight: FontWeight.bold),
102-
// ),
103-
// textTheme: ButtonTextTheme.accent,
104-
// color: Colors.orange,
105-
// onPressed: () {
106-
// Navigator.of(context).push(_createRoute());
107-
// }),
108-
// Card(
109-
// margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 25.0),
110-
// color: Colors.white,
111-
// child: Padding(
112-
// padding: EdgeInsets.all(15),
113-
// child: Row(
114-
// children: <Widget>[
115-
// Icon(
116-
// Icons.email,
117-
// color: Colors.teal,
118-
// ),
119-
// SizedBox(width: 15.0),
120-
// Text(
121-
122-
// style: TextStyle(
123-
// fontSize: 20.0,
124-
// fontFamily: 'Source Sans Pro',
125-
// color: Colors.teal),
126-
// )
127-
// ],
128-
// ),
129-
// ),
130-
// )
131-
// ],
132-
// ),
13388
child: ListView(
13489
children: <Widget>[
135-
// Max Size
136-
// Container(
137-
// height: 100,
138-
// color: Color.fromRGBO(90, 58, 29, 10),
139-
// margin: EdgeInsets.all(8.0),
140-
// child: Image.asset(
141-
// 'images/maingif.gif',
142-
// width: 300,
143-
// height: 280,
144-
// )),
14590
Container(
14691
height: 100,
14792
color: Color.fromRGBO(90, 58, 29, 10),
@@ -177,7 +122,7 @@ class Page11 extends StatelessWidget {
177122
decoration: InputDecoration(
178123
//Add th Hint text here.
179124

180-
hintText: "Enter your name",
125+
hintText: "Enter name",
181126
hintStyle: TextStyle(
182127
fontSize: 20.0,
183128
color: Colors.white60,

Hangman/lib/main.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import 'package:hangman/screens/login_page.dart';
44
import 'package:splashscreen/splashscreen.dart';
55
import 'package:firebase_auth/firebase_auth.dart';
66

7+
import 'one_player_page.dart';
8+
79

810
main() {
911
runApp(MaterialApp(
@@ -22,7 +24,7 @@ class _MyAppState extends State<MyApp1> {
2224
return new SplashScreen(
2325
loaderColor: Colors.white,
2426
seconds: 7,
25-
navigateAfterSeconds: new MyApp(),
27+
navigateAfterSeconds: new SecondPage(),
2628
title: new Text(
2729
'Tell me wow ',
2830
style: new TextStyle(

0 commit comments

Comments
 (0)