import { Widget } from "./widget" ; import { TextDirection } from "../dart-ui/text-direction" ; import { TextBaseline } from "../painting/text-baseline" ; import { VerticalDirection } from "../painting/vertical-direction" ; import { CrossAxisAlignment } from "../rendering/cross-axis-alignment" ; import { MainAxisAlignment } from "../rendering/main-axis-alignment" ; import { MainAxisSize } from "../rendering/main-axis-size" ; /**
 * https://api.flutter.dev/flutter/widgets/Row/Row.html
 */ export class Row extends Widget { mainAxisAlignment : MainAxisAlignment ; mainAxisSize : MainAxisSize ; crossAxisAlignment : CrossAxisAlignment ; textDirection : TextDirection ; verticalDirection : VerticalDirection ; textBaseline : TextBaseline ; children : Array < Widget > = Array < Widget > ( ) ; constructor ( args ) { super ( ) ; this . children = args . children ; this . mainAxisAlignment = args ?. mainAxisAlignment ; this . crossAxisAlignment = args ?. crossAxisAlignment ; this . mainAxisSize = args ?. mainAxisSize ; } }