Row constructor

const Row({
  1. Key? key,
  2. required List<Widget> children,
  3. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  4. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  5. MainAxisSize mainAxisSize = MainAxisSize.max,
})

Creates a Row with the given children and alignment options.

Implementation

const Row({
  super.key,
  required super.children,
  super.mainAxisAlignment,
  super.crossAxisAlignment,
  super.mainAxisSize,
}) : super(direction: Axis.horizontal);