onClose property

VoidCallback? onClose
getter/setter pair

Wired by the overlay to remove the survey from the screen. Call close from your UI when you're done presenting (e.g. after a thank-you).

Implementation

VoidCallback? onClose;