Flutter & Dart · Concept
Hot reload
Row arranges widgets in a horizontal line. Use Expanded or Flexible to share available width and prevent long children from overflowing.
Last updated
Syntax
Row({Key? key, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, MainAxisSize mainAxisSize = MainAxisSize.max, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, TextBaseline? textBaseline, List<Widget> children = const <Widget>[]})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ColumnExpandedFlexibleListViewAlignCenterCrossAxisAlignment.baseline