body method
Implementation
Widget body() {
return ListView(
padding: const EdgeInsets.only(bottom: 100),
children: [
ChatItemView(
icon: FlutterLogo(size: 40),
initial: '',
title: 'Flutter Indonesia',
sender: 'User 3',
message: 'Hello. Does anyone know how can i directly on/off',
time: '22:14',
mute: false,
unread: 1280,
color: Colors.transparent),
ChatItemView(
icon: FlutterLogo(size: 40),
initial: '',
title: 'FlutterDev',
sender: '',
message: 'New post on /r/flutterdev subreddit:',
time: '9:28',
mute: true,
unread: 8,
color: Colors.transparent),
ChatItemView(
icon: FlutterLogo(),
initial: 'U1',
title: 'User 2',
sender: '',
message: 'Hi, how are you ?',
time: '7:34',
mute: false,
unread: 2,
color: kOrangeColor),
ChatItemView(
icon: FlutterLogo(),
initial: 'U2',
title: 'User 3',
sender: '',
message: 'Hi, how are you ?',
time: 'Tue',
mute: true,
unread: 0,
color: kGreenPeasColor),
],
);
}