Created
March 7, 2018 15:31
-
-
Save tomnewton/0430eae3d6f86cea21339fe4ea40ec9c to your computer and use it in GitHub Desktop.
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
new Row( | |
children: <Widget>[ | |
new Column( | |
children: <Widget>[ | |
new Container( | |
width: 65.0, | |
height: 65.0, | |
color: Colors.blue, | |
) | |
], | |
), | |
new Container(width: 5.0), | |
new Expanded( | |
child: new Column( | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
new Row( | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
new Text("Title...", | |
style: new TextStyle(fontWeight: FontWeight.bold), | |
maxLines: 1, | |
overflow: TextOverflow.clip), | |
] | |
), | |
new Row( | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
new Text("This is a really long subtitle... this should not overflow the bounds.....this should not overflow the bounds.....this should not overflow the bounds.....this should not overflow the bounds.....this should not overflow the bounds.....", | |
overflow: TextOverflow.clip) | |
], | |
), | |
], | |
) | |
), | |
new Container(width: 5.0), | |
new Column( | |
children: <Widget>[ | |
new Container( | |
width: 65.0, | |
height: 65.0, | |
color: Colors.blue, | |
) | |
], | |
), | |
], | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment