bottom_bar_column.dart
1.32 KB
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
import 'package:flutter/material.dart';
class BottomBarColumn extends StatelessWidget {
final String heading;
final String s1;
final String s2;
final String s3;
BottomBarColumn({
required this.heading,
required this.s1,
required this.s2,
required this.s3,
});
@override
Widget build(BuildContext context) {
return Padding(
padding: EdgeInsets.only(bottom: 20.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
heading,
style: TextStyle(
color: Colors.blueGrey[300],
fontSize: 18,
fontWeight: FontWeight.w500,
),
),
SizedBox(
height: 10,
),
Text(
s1,
style: TextStyle(
color: Colors.blueGrey[100],
fontSize: 14,
),
),
SizedBox(height: 5),
Text(
s2,
style: TextStyle(
color: Colors.blueGrey[100],
fontSize: 14,
),
),
SizedBox(height: 5),
Text(
s3,
style: TextStyle(
color: Colors.blueGrey[100],
fontSize: 14,
),
),
],
),
);
}
}