onClose property

VoidCallback? onClose
final

A function called whenever the user taps on the closing button of this tag.

If not null, a closing button will be added added at the end of the tag.

Implementation

final VoidCallback? onClose;