onSlideComplete property
final
The future that is called when the button has been slid. While it is being awaited, a loading indicator will show. If the future returns true, the text and colors will be switched out for their 'end' equivalents If included the button is active, if not it will be disabled.
Implementation
final Future<bool> Function()? onSlideComplete;