Exemplo n.º 1
0
 protected override void forEachTween(ITweenVisitor visitor)
 {
     this._elevation = (FloatTween)visitor.visit(this, this._elevation, this.widget.elevation,
                                                 (float value) => new FloatTween(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));
 }
Exemplo n.º 2
0
 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));
 }
Exemplo n.º 3
0
 protected override void forEachTween(ITweenVisitor 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));
 }
Exemplo n.º 4
0
 protected override void forEachTween(ITweenVisitor visitor)
 {
     this._style = (TextStyleTween)visitor.visit(this, this._style, this.widget.style,
                                                 (TextStyle value) => new TextStyleTween(begin: value));
 }
Exemplo n.º 5
0
 protected abstract void forEachTween(ITweenVisitor visitor);
Exemplo n.º 6
0
 protected override void forEachTween(ITweenVisitor visitor)
 {
     this._data = (ThemeDataTween)visitor.visit(this, this._data, this.widget.data,
                                                (ThemeData value) => new ThemeDataTween(begin: value));
 }