ControlledEffect constructor

  1. @visibleForTesting
ControlledEffect({
  1. required EffectController controller,
  2. bool? cleanup,
  3. bool? enabled,
  4. int? priority,
  5. Iterable<Node> children = const [],
})

Implementation

@visibleForTesting
ControlledEffect({
  required this.controller,
  super.cleanup,
  super.enabled,
  super.priority,
  super.children,
}) {
  controller.attach(this);
}