您可以使用小技巧:假设您有以下要求: (Width,Height)
Wrap_content,Wrap_content:
//use this as child Wrap( children: <Widget>[*your_child*])
Match_parent,Match_parent:
//use this as childContainer( height: double.infinity, width: double.infinity,child:*your_child*)
Match_parent,Wrap_content:
//use this as childRow( mainAxisSize: MainAxisSize.max, children: <Widget>[*your_child*],);
Wrap_content,Match_parent:
//use this as childColumn( mainAxisSize: MainAxisSize.max, children: <Widget>[your_child],);



