onComplete property

void Function()? onComplete
getter/setter pair

Optional callback function to be invoked once the effect completes.

Implementation

void Function()? onComplete;