Exemplo n.º 1
0
        BoxConstraints _getInnerConstraints(BoxConstraints constraints)
        {
            switch (this.axis)
            {
            case Axis.horizontal:
                return(constraints.heightConstraints());

            case Axis.vertical:
                return(constraints.widthConstraints());
            }

            return(null);
        }