xxxxxxxxxx
//testing
Column(
children: [
Text(''),
Text('')
],
)
xxxxxxxxxx
Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
verticalDirection: VerticalDirection.down,
textBaseline: TextBaseline.alphabetic,
textDirection: TextDirection.ltr,
mainAxisSize: MainAxisSize.max,
children: [
Text('Column 1'),
Text('Column 2')
],
),
xxxxxxxxxx
Column(
children: <Widget>[
Text('Deliver features faster'),
Text('Craft beautiful UIs'),
Expanded(
child: FittedBox(
fit: BoxFit.contain, // otherwise the logo will be tiny
child: const FlutterLogo(),
),
),
],
)
xxxxxxxxxx
Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Text('We move under cover and we move as one'),
Text('Through the night, we have one shot to live another day'),
Text('We cannot let a stray gunshot give us away'),
Text('We will fight up close, seize the moment and stay in it'),
Text('It’s either that or meet the business end of a bayonet'),
Text('The code word is ‘Rochambeau,’ dig me?'),
Text('Rochambeau!', style: DefaultTextStyle.of(context).style.apply(fontSizeFactor: 2.0)),
],
)
xxxxxxxxxx
Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Image.asset('images/pic1.jpg'),
Image.asset('images/pic2.jpg'),
Image.asset('images/pic3.jpg'),
],
);
\e[1;37m+--------------------+
| |
| PIC 1 |
| |
+--------------------+
\e[0m
\e[1;37m+--------------------+
| |
| PIC 2 |
| |
+--------------------+
\e[0m
\e[1;37m+--------------------+
| |
| PIC 3 |
| |
+--------------------+
\e[0m
\e[1;37m sets the text to bright white.
+--------------------+ creates a box that might represent an image.
| PIC X | represents the placeholder for where an image would be.
\e[0m resets the text formatting to the default.