Esempio n. 1
0
 protected override void forEachTween(TweenVisitor visitor)
 {
     this._alignment = (AlignmentTween)visitor.visit(this, this._alignment, this.widget.alignment,
                                                     (Alignment value) => new AlignmentTween(begin: value));
     this._padding = (EdgeInsetsTween)visitor.visit(this, this._padding, this.widget.padding,
                                                    (EdgeInsets value) => new EdgeInsetsTween(begin: value));
     this._decoration = (DecorationTween)visitor.visit(this, this._decoration, this.widget.decoration,
                                                       (Decoration value) => new DecorationTween(begin: value));
     this._foregroundDecoration = (DecorationTween)visitor.visit(this, this._foregroundDecoration,
                                                                 this.widget.foregroundDecoration, (Decoration value) => new DecorationTween(begin: value));
     this._constraints = (BoxConstraintsTween)visitor.visit(this, this._constraints, this.widget.constraints,
                                                            (BoxConstraints value) => new BoxConstraintsTween(begin: value));
     this._margin = (EdgeInsetsTween)visitor.visit(this, this._margin, this.widget.margin,
                                                   (EdgeInsets value) => new EdgeInsetsTween(begin: value));
     this._transform = (Matrix3Tween)visitor.visit(this, this._transform, this.widget.transform,
                                                   (Matrix3 value) => new Matrix3Tween(begin: value));
 }
Esempio n. 2
0
 protected override void forEachTween(TweenVisitor visitor)
 {
     this._padding = (EdgeInsetsTween)visitor.visit(this, this._padding, this.widget.padding,
                                                    (EdgeInsets value) => new EdgeInsetsTween(begin: value));
 }