SpringTransform constructor

SpringTransform({
  1. Key? key,
  2. Widget? child,
  3. Offset? position,
  4. void activateAnimationCallback(
    1. Offset newPosition
    )?,
})

Implementation

SpringTransform(
    {Key? key,
    Widget? child,
    Offset? position,
    void Function(Offset newPosition)? activateAnimationCallback})
    : _position = position,
      _activateAnimationCallback = activateAnimationCallback,
      super(key: key, child: child);