Open name27 opened 1 year ago
drawer: Drawer(
child: ListView(
padding: EdgeInsets.zero,
// ignore: prefer_const_literals_to_create_immutables
children: [
UserAccountsDrawerHeader(
currentAccountPicture: CircleAvatar(
//현재 계정 이미지
backgroundColor: Colors.blueAccent,
child: Text('스'),
),
accountName: Text('스나이퍼팩토리'),
accountEmail: Text('안녕하세요. 스펙입니다'),
onDetailsPressed: () {
print('clicked');
},
decoration: BoxDecoration(
color: Colors.greenAccent,
),
),
ListTile(
leading: Icon(Icons.home),
title: Text('홈'),
subtitle: Text('홈으로 이동하기'),
),
ListTile(
leading: Icon(Icons.people),
title: Text('커뮤니티'),
subtitle: Text('커뮤니티로 이동하기'),
),
SizedBox(height: 270,),
ListTile(
title: Text('로그아웃'),
subtitle: Text('로그아웃입니다'),
trailing: Icon(Icons.logout),
),
],
),
),