align widgets in column flutter code example
Example 1: flutter column align
Row( crossAxisAlignment: CrossAxisAlignment.start, verticalDirection: VerticalDirection.down, children: [ Text( 'Flutter', style: TextStyle( color: Colors.yellow, fontSize: 30.0 ), ), Text( 'Flutter', style: TextStyle( color: Colors.blue, fontSize: 20.0 ), ), ],);
Example 2: flutter column widget align left
Align(
alignment: Alignment.centerRight,
child: Text("widget"),
)