row method

Row 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,
})

Convert a list to Row

Implementation

Row row(
    {Key? key,
    MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
    MainAxisSize mainAxisSize = MainAxisSize.max,
    CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
    TextDirection? textDirection,
    VerticalDirection verticalDirection = VerticalDirection.down,
    TextBaseline? textBaseline}) {
  return Row(
    key: key,
    mainAxisAlignment: mainAxisAlignment,
    mainAxisSize: mainAxisSize,
    crossAxisAlignment: crossAxisAlignment,
    textDirection: textDirection,
    verticalDirection: verticalDirection,
    textBaseline: textBaseline,
    children: this as List<Widget>,
  );
}