createAnimatableParameters method
_AlignAnimatableParameters
createAnimatableParameters(
- covariant RenderPositionedBox renderObject,
- AnimatableParameterHost host
override
Creates the AnimatableParameters for this widget.
Implementation
@override
_AlignAnimatableParameters createAnimatableParameters(
covariant RenderPositionedBox renderObject,
AnimatableParameterHost host,
) {
return (
alignment: AnimatableAlignmentGeometry(alignment, host: host),
widthFactor: OptionalAnimatableDouble(widthFactor, host: host),
heightFactor: OptionalAnimatableDouble(heightFactor, host: host),
);
}