I'm learning flutter. I used the UserAccountsDrawerHeader widget using the Drawer widget, but when setting Radius, unnecessary line appears below. How can you remove it?
Here's my code
drawer: Drawer(
child: ListView(
padding: EdgeInsets.zero,
children: [
UserAccountsDrawerHeader(
currentAccountPicture: CircleAvatar(
child: Image.asset('assets/nyancat_bg.png'),
backgroundColor: Colors.white,
),
accountName: Text('NYAN CAT'),
accountEmail: Text('nyancat@abc.com'),
onDetailsPressed: () {
debugPrint("arrow is clicked");
},
decoration: BoxDecoration(
color: Colors.indigo[400],
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(20.0),
bottomRight: Radius.circular(20.0))),
)
],
),
),