addListener method

  1. @override
void addListener(
  1. VoidCallback listener

Register a closure to be notified when it is time to reclip.

The CustomClipper implementation merely forwards to the same method on the Listenable provided to the constructor in the reclip argument, if it was not null.


void addListener(VoidCallback listener) => _reclip?.addListener(listener);