-
Notifications
You must be signed in to change notification settings - Fork 0
/
FailPage.dart
54 lines (48 loc) · 1.61 KB
/
FailPage.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import 'package:quizzapp/SelectionPage.dart';
import 'package:quizzapp/QuestionsC.dart';
import 'package:quizzapp/Cplusplus.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
class FailPage extends StatefulWidget {
@override
State<FailPage> createState() => _FailPageState();
}
class _FailPageState extends State<FailPage> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
'You Failed Try Again',
style: GoogleFonts.rajdhani(fontSize: 30, fontWeight: FontWeight.bold),
),
TextButton(
onPressed:() {
Navigator.push(context,
MaterialPageRoute(
builder:(context)=>SelectionPage()));
},
child:Image(
fit: BoxFit.cover,
height: 480,
width: 1500,
image: NetworkImage('https://i.pinimg.com/originals/10/8a/27/108a273c92fdd74fac46847b07e8f750.gif'),
),
),
],
),
],
),
),
backgroundColor: Colors.white,
),
);
}
}