AnimationConfiguration.synchronized constructor

const AnimationConfiguration.synchronized({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 225),
  3. required Widget child,
})

Configure the children's animation to be synchronized (all the children's animation start at the same time).

Default value for duration is 225ms.

The child argument must not be null.

Implementation

const AnimationConfiguration.synchronized({
  Key? key,
  this.duration = const Duration(milliseconds: 225),
  required Widget child,
})   : position = 0,
      delay = Duration.zero,
      columnCount = 1,
      super(key: key, child: child);