init method

  1. @override
void init(
  1. AnimationController controller
)
override

Implementation

@override
void init(AnimationController controller) {
  notifier.addListener(() {
    controller.animateTo(
      valueGetter(),
      duration: animated ? null : Duration.zero,
    );
  });
}