Created
November 11, 2019 23:20
-
-
Save XinyueZ/2ca9301328a758cfbabce72eed05f77a to your computer and use it in GitHub Desktop.
flutter_ Wrap_content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Wrap_content ,Wrap_content : | |
| //use this as child | |
| Wrap( | |
| children: <Widget>[*your_child*]) | |
| Match_parent,Match_parent: | |
| //use this as child | |
| Container( | |
| height: double.infinity, | |
| width: double.infinity,child:*your_child*) | |
| Match_parent,Wrap_content : | |
| //use this as child | |
| Row( | |
| mainAxisSize: MainAxisSize.max, | |
| children: <Widget>[*your_child*], | |
| ); | |
| Wrap_content ,Match_parent: | |
| //use this as child | |
| Column( | |
| mainAxisSize: MainAxisSize.max, | |
| children: <Widget>[your_child], | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment