[嗨,我想知道是否有必要将边距或填充设置得更接近iconUser,我想让圆形状位于iconUser的顶部,尝试过设置边距或填充,但是仍然无法解决此问题。
children: <Widget>[
SizedBox(width: 10,),
GestureDetector(
onTap: (){},
child: Image.asset("assets/ic_user_center.png",height: 16.0,width: 16.0,)
)
],
),
Padding(
padding: const EdgeInsets.only(bottom: 8.0),
child: Container(
width: 5.0,
height: 5.0,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.white
),
),
)
],
),