Example #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));
 }
Example #2
0
 protected override void forEachTween(TweenVisitor visitor)
 {
     _alignment = (AlignmentGeometryTween)visitor.visit(this, _alignment, widget.alignment,
                                                        (AlignmentGeometry value) => new AlignmentGeometryTween(begin: value));
     _padding = (EdgeInsetsGeometryTween)visitor.visit(this, _padding, widget.padding,
                                                       (value) => new EdgeInsetsGeometryTween(begin: value));
     _decoration = (DecorationTween)visitor.visit(this, _decoration, widget.decoration,
                                                  (Decoration value) => new DecorationTween(begin: value));
     _foregroundDecoration = (DecorationTween)visitor.visit(this, _foregroundDecoration,
                                                            widget.foregroundDecoration, (Decoration value) => new DecorationTween(begin: value));
     _constraints = (BoxConstraintsTween)visitor.visit(this, _constraints, widget.constraints,
                                                       (BoxConstraints value) => new BoxConstraintsTween(begin: value));
     _margin = (EdgeInsetsGeometryTween)visitor.visit(this, _margin, widget.margin,
                                                      (value) => new EdgeInsetsGeometryTween(begin: value));
     _transform = (Matrix4Tween)visitor.visit(this, _transform, widget.transform,
                                              (Matrix4 value) => new Matrix4Tween(begin: value));
 }