public override Widget build(BuildContext context) { return(new Align( alignment: _alignment.evaluate(animation: animation), child: widget.child )); }
public override Widget build(BuildContext context) { return(new Container( child: widget.child, alignment: _alignment?.evaluate(animation), padding: _padding?.evaluate(animation), decoration: _decoration?.evaluate(animation), foregroundDecoration: _foregroundDecoration?.evaluate(animation), constraints: _constraints?.evaluate(animation), margin: _margin?.evaluate(animation), transform: _transform?.evaluate(animation) )); }