Row constructor

const Row({
  1. Key? key,
  2. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  3. MainAxisSize mainAxisSize = MainAxisSize.max,
  4. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  5. TextDirection? textDirection,
  6. VerticalDirection verticalDirection = VerticalDirection.down,
  7. TextBaseline? textBaseline,
  8. double spacing = 0.0,
  9. List<Widget> children = const <Widget>[],
  10. Clip clipBehavior = Clip.none,
})

Creates a horizontal array of children with paint order support.

Implementation

const Row({
  super.key,
  super.mainAxisAlignment,
  super.mainAxisSize,
  super.crossAxisAlignment,
  super.textDirection,
  super.verticalDirection,
  super.textBaseline,
  super.spacing,
  super.children,
  super.clipBehavior,
}) : super(direction: widgets.Axis.horizontal);