protected override void forEachTween(ITweenVisitor visitor) { this._elevation = (DoubleTween)visitor.visit(this, this._elevation, this.widget.elevation, (double value) => new DoubleTween(begin: value, end: value)); this._shadowColor = (ColorTween)visitor.visit(this, this._shadowColor, this.widget.shadowColor, (Color value) => new ColorTween(begin: value)); this._border = (ShapeBorderTween)visitor.visit(this, this._border, this.widget.shape, (ShapeBorder value) => new ShapeBorderTween(begin: value)); }
protected override void forEachTween(ITweenVisitor visitor) { this._borderRadius = (BorderRadiusTween)visitor.visit(this, this._borderRadius, this.widget.borderRadius, (BorderRadius value) => new BorderRadiusTween(begin: value)); this._elevation = (DoubleTween)visitor.visit(this, this._elevation, this.widget.elevation, (double value) => new DoubleTween(begin: value, end: value)); this._color = (ColorTween)visitor.visit(this, this._color, this.widget.color, (Color value) => new ColorTween(begin: value)); this._shadowColor = (ColorTween)visitor.visit(this, this._shadowColor, this.widget.shadowColor, (Color value) => new ColorTween(begin: value)); }