-
Notifications
You must be signed in to change notification settings - Fork 0
/
prince.dart
67 lines (57 loc) · 2.13 KB
/
prince.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
55
56
57
58
59
60
61
62
63
64
65
66
67
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main(){
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: new First(),
);
}
}
class First extends StatefulWidget {
@override
_FirstState createState() => _FirstState();
}
class _FirstState extends State<First> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: new AppBar(
title: new Text("ALzheimer test Quiz"),
backgroundColor: Colors.blue),
body: new Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("images/badass.png"),
fit: BoxFit.fill,
)
),
child: new Column(
children: <Widget>[
new Text("Description",style:TextStyle(fontWeight: FontWeight.bold,fontSize: 30),),
new Text("Alzheimer’s disease is an irreversible, progressive brain "
"disorder. In most people with this disease, symptoms first appear in their mid-60s. Alzheimer’s disease is the"
" most common cause of dementia among senior citizens.\n \n The main aim of this game is to"
" predict the possibility of a person suffering from the Alzheimer's. "
" After compelition of several satges, conclusion is drawn on the basis of "
"cumulative statistics, based on the player's performance in various stages of the game.",
style:TextStyle(fontWeight: FontWeight.bold,fontSize: 20,),textAlign: TextAlign.center,),
// new Text("")],
]
)
),
floatingActionButton: FloatingActionButton.extended(
onPressed: fun,
label: Text('Start Game'),
//icon: Icon(Icons.arrow_forward_ios),
)
);
}
void fun(){
print('pressed');
}
}