Skip to content
masterclass Buddy

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.

Subscribe
  • Column
  • Expanded
  • Flexible
  • ListView
  • Align
  • Center
  • CrossAxisAlignment.baseline

Source: Row class - widgets library - Dart API. Checked 2026-11-03.