1.CircleAvatar圆形头像:
new CircleAvatar(
backgroundImage: new NetworkImage("https://pic3.zhimg.com/fc4c1cb34c2901a1a8c05488bbd76fa2_xs.jpg"),
radius: 11.0
),
2.圆形按钮
RaisedButton(
shape: CircleBorder(side: BorderSide(color: Colors.pink)),
child: Image.asset(Constant.ASSETS_IMG +
(_controller.value.isPlaying
? 'ic_pause.png'
: 'ic_playing.png'),height: 25,width: 25,),
onPressed: () {
if (_controller.value.isPlaying) {
_controller.pause();
} else {
_controller.play();
}
}),
alignment: Alignment.center,
),
3.宽高比:AspectRatio
4.Stack:层叠
5.OffState:控制显隐
6.Expanded:自动延长剩余空间
7.PopupMenuButton:
8.CircularProgressIndicator:圆形刷新进度控件
CircularProgressIndicator(backgroundColor: Colors.greenAccent,)