anchor.diff:    }
   
     double _getCrossSize(RenderBox child) {
  -    return (_direction == Axis.horizontal) ? child.size.height : child.size.width;
  +    switch (_direction) {
  +      case Axis.horizontal:
  +        return child.size.height;
  +      case Axis.vertical:
  +        return child.size.width;
  +    }
  +    return null;
     }
   
     double _getMainSize(RenderBox child) {
  -    return (_direction == Axis.horizontal) ? child.size.width : child.size.height;
  +    switch (_direction) {
  +      case Axis.horizontal:
  +        return child.size.width;
  +      case Axis.vertical:
  +        return child.size.height;
  +    }
  +    return null;
     }
   
     @override
  
positive.code:   CrossAxisAlignment get crossAxisAlignment => _crossAxisAlignment;
    CrossAxisAlignment _crossAxisAlignment;
    set crossAxisAlignment(CrossAxisAlignment value) {
      if (_crossAxisAlignment != value) {
        _crossAxisAlignment = value;
        markNeedsLayout();
  
negative.code:   }
  
    /// If aligning items according to their baseline, which baseline to use.
    ///
    /// Must not be null if [crossAxisAlignment] is [CrossAxisAlignment.baseline].
    TextBaseline get textBaseline => _textBaseline;
    TextBaseline _textBaseline;
    set textBaseline(TextBaseline value) {
  