runAnimation method

dynamic runAnimation()

Implementation

runAnimation() async {
  while (true) {
    notifier.value = !notifier.value;
    await Future.delayed(const Duration());
  }
}