-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage_center_page.dart
executable file
·56 lines (54 loc) · 1.58 KB
/
message_center_page.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
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class MessageCenterPage extends StatefulWidget {
@override
_MessageCenterPageState createState() => _MessageCenterPageState();
}
class _MessageCenterPageState extends State<MessageCenterPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xfff5f5f5),
appBar: AppBar(
title: Text("消息中心"),
),
body: Container(
child: Column(
children: [
Container(
color: Colors.white,
child: ListTile(
leading: Icon(Icons.add_alert),
title: Text("服务消息"),
subtitle: Text("年货秒杀补贴最后一天"),
),
),
SizedBox(
height: 10.w,
),
Container(
color: Colors.white,
child: ListTile(
leading: Icon(Icons.speaker_phone),
title: Text("平台活动"),
subtitle: Text("年货秒杀补贴最后一天"),
),
),
SizedBox(
height: 10.w,
),
Container(
color: Colors.white,
child: ListTile(
leading: Icon(Icons.speaker_phone),
title: Text("客服留言消息"),
subtitle: Text("年货秒杀补贴最后一天"),
),
),
],
),
),
);
}
}