仅内部网格的边缘需要圆角。在下图中,圆角仅适用于
- BBC 新闻 -> (上+下)右
- ABC新闻->(上+下)左
如果多于两列,则第二列项目的左右边缘都应该是圆角的
child: Container(
alignment: Alignment.bottomCenter,
padding: EdgeInsets.fromLTRB(10, 0, 10, 10),
decoration: BoxDecoration(
color: Colors.black,
borderRadius: BorderRadius.only(
topRight: const Radius.circular(8.0),
bottomRight: const Radius.circular(8.0),
),
image: DecorationImage(
image: CachedNetworkImageProvider(station.image, scale: 1.0),
colorFilter: ColorFilter.mode(
Colors.white.withOpacity(0.3), BlendMode.dstATop),
fit: BoxFit.fitWidth,
),
),
child: Text(
""
),
),