SequenceEffectController constructor
SequenceEffectController(
- List<
EffectController> controllers
Implementation
SequenceEffectController(List<EffectController> controllers)
: assert(controllers.isNotEmpty, 'List of controllers cannot be empty'),
assert(
!controllers.any((c) => c.isInfinite),
'Children controllers cannot be infinite',
),
children = controllers,
_currentIndex = 0,
super.empty();