AnimationConfigurationClass.synchronized constructor

const AnimationConfigurationClass.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 AnimationConfigurationClass.synchronized({
  Key? key,
  this.duration = const Duration(milliseconds: 225),
  required Widget child,
})  : position = 0,
      delay = Duration.zero,
      columnCount = 1,
      super(key: key, child: child);