animateOnActionTrigger method

Widget animateOnActionTrigger(
  1. AnimationInfo animationInfo, {
  2. bool hasBeenTriggered = false,
})

Implementation

Widget animateOnActionTrigger(
  AnimationInfo animationInfo, {
  bool hasBeenTriggered = false,
}) =>
    hasBeenTriggered || animationInfo.applyInitialState
        ? Animate(
            controller: animationInfo.controller,
            autoPlay: false,
            effects: animationInfo.effects,
            child: this)
        : this;