anchor.diff:    }
   
     /// Set the size of the actual target to the specified value.
  -  void _commitTargetSize(int val) {
  -    final sizeStr = '${val}px';
  +  void _commitTargetSize(int size) {
  +    final clampedSize = size.clamp(minTargetSize, maxTargetSize);
  +    final sizeStr = '${clampedSize}px';
       if (_isHorizontal) {
         _target.style.height = sizeStr;
       } else {
  
positive.code: 
      // Initial settings.
      directionChanged();
      targetSizeChanged();
    }
  
    /// Triggered when [direction] is externally changed.
  
negative.code:     classes.toggle('horizontal', _isHorizontal);
      classes.toggle('vertical', !_isHorizontal);
      _setThickness();
  
      if (IS_DART2JS) {
        // TODO(ussuri): In deployed code, this is needed to fixate the target's
        // size in case it's not explicitly set by the client and the client
        // changes the target's children later such that the target wants to
        // auto-resize. This prevents auto-resizing. Investigate.
        _commitTargetSize(_extractTargetSize());
      }
    }
  
    /// Automatically called whenever targetSize is changed by the client.
    void targetSizeChanged() {
      print("splitter 2: $targetSize");
      if (targetSize != null) _commitTargetSize(targetSize);
    }
  
    void _setThickness() {
  