-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathabout.dart
86 lines (84 loc) · 2.3 KB
/
about.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import 'package:flutter/material.dart';
import 'package:vertical_card_pager/vertical_card_pager.dart';
class AboutPage extends StatefulWidget {
@override
_State createState() => _State();
}
class _State extends State<AboutPage>{
@override
Widget build(BuildContext context) {
final List<String> titles = [
"Team Semicolon presents",
"Programming Resources",
"Created with love by",
"Ankur Gupta",
"Satyprakash Singh Rathoure",
"semicolondevteam@gmail.com"
];
final List<Widget> images = [
Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
color: Colors.red.shade400,
),
Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
color: Colors.orangeAccent,
),
Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
color: Colors.black,
),
Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
color: Colors.cyan,
),
Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
color: Colors.blue,
),
Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
color: Colors.grey,
),
];
return Scaffold(
appBar:
AppBar(title: new Text('About us',
style: TextStyle(color:Colors.white)),
backgroundColor: Colors.purple.shade700,
),
body: SafeArea(
child: Column(
children: <Widget>[
Expanded(
child: Card(
child: VerticalCardPager(
textStyle: TextStyle(
color: Colors.white, fontWeight: FontWeight.bold),
titles: titles,
images: images,
onPageChanged: (page) {
print(page);
},
onSelectedItem: (index) {},
),
),
),
],
),
),
);
}
}