addListener abstract method

  1. @override
void addListener(
  1. VoidCallback listener
)
override

Calls the listener every time the value of the animation changes.

Listeners can be removed with removeListener.

Implementation

@override
void addListener(VoidCallback listener);