TIL #026 시험공부와 틈새코딩 병행의 시작
TIL #026 191203 화 오늘 배운 점 1. 3단바 Drawer 만들기 Scaffold 안에 Drawer()를 활용하여 만들어준다. 여기서 헤더에 사용자 정보(프로필 사진, 닉네임, 아이디 등)를 출력할 수도 있다. //Scaffold 안에 drawer: Drawer( child: ListView( padding: EdgeInsets.zero, children: [ DrawerHeader( child: Text('Drawer Header'), decoration: BoxDecoration(color: Color(Global.hexColor('#FB4D41'))), ), ListTile( title: Text('Item 1'), onTap: () { Navigator.pop(context); //N..
2019. 12. 3. 15:33