内容纲要
(宽度,高度)
Wrap_content,Wrap_content:
//将此作为子部件
Wrap(
children: <Widget>[你的子部件])
Match_parent,Match_parent:
//将此作为子部件
Container(
height: double.infinity,
width: double.infinity,child:你的子部件)
Match_parent,Wrap_content:
//将此作为子部件
Row(
mainAxisSize: MainAxisSize.max,
children: <Widget>[你的子部件],
);
Wrap_content,Match_parent:
//将此作为子部件
Column(
mainAxisSize: MainAxisSize.max,
children: <Widget>[你的子部件],
);