onDispose property

VoidCallback? onDispose
getter/setter pair

Called when after the touch ripple effect has fully completed and the relevant instances have been cleaned up.

Implementation

VoidCallback? onDispose;