public _TabLabelBarRenderer( List <RenderBox> children = null, Axis?direction = null, MainAxisSize?mainAxisSize = null, MainAxisAlignment?mainAxisAlignment = null, CrossAxisAlignment?crossAxisAlignment = null, VerticalDirection?verticalDirection = null, _LayoutCallback onPerformLayout = null ) : base( children: children, direction: direction.Value, mainAxisSize: mainAxisSize.Value, mainAxisAlignment: mainAxisAlignment.Value, crossAxisAlignment: crossAxisAlignment.Value, verticalDirection: verticalDirection.Value ) { D.assert(direction != null); D.assert(mainAxisSize != null); D.assert(mainAxisAlignment != null); D.assert(crossAxisAlignment != null); D.assert(verticalDirection != null); D.assert(onPerformLayout != null); this.onPerformLayout = onPerformLayout; }
public _TabLabelBar( Key key = null, List <Widget> children = null, _LayoutCallback onPerformLayout = null ) : base( key: key, children: children ?? new List <Widget>(), direction: Axis.horizontal, mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, verticalDirection: VerticalDirection.down ) { this.onPerformLayout = onPerformLayout; }