【发布时间】:2021-05-06 05:12:21
【问题描述】:
我想删除在IconButton 中舍入的这条彩色像素线
我认为这行像素与阴影无关
我的代码是:
Container(
boxShadow: [
BoxShadow(
color: Colors.transparent,
),
],
color: Colors.black,
shape: BoxShape.circle,
border: Border.all(
color: Colors.white,
width: 5,
),
),
child: IconButton(
color: Colors.white,
icon: Icon(
Icons.search,
),
),
),
【问题讨论】:
标签: flutter dart containers decoration