AnimationLimiter constructor

const AnimationLimiter(
  1. {Key key,
  2. @required Widget child}
)

Creates an AnimationLimiter that will prevents the children widgets to be animated if they don't appear in the first frame where AnimationLimiter is built.

The child argument must not be null.

Implementation

const AnimationLimiter({
  Key key,
  @required this.child,
})  : assert(child != null),
      super(key: key);