main.dart
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
theme: ThemeData(primarySwatch: Colors.blue),
home: Scaffold(
appBar: AppBar(
title: const Text("Flutter - Column Align Bottom")
),
body: bodyContent()
)
)
);
}
bodyContent(){
return Column(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Container(color: Colors.green.shade200, height: 80),
Container(color: Colors.purple.shade400, height: 100),
Container(color: Colors.indigo.shade200, height: 120)
]
);
}
More flutter tutorials
- flutter – ConstrainedBox scroll
- flutter – SingleChildScrollView vertical
- flutter – SingleChildScrollView horizontal
- flutter – How to create horizontal GridView
- flutter – GridView horizontal scroll
- flutter – How to make a Card clickable
- flutter – Card circle shape
- flutter – Column background color
- flutter – Column spacing
- flutter – Column height
- flutter – Column scrollable
- flutter – Column max height
- flutter – Column align right
- flutter – Column align bottom right
- flutter – Column space evenly