onOpen property

VoidCallback? onOpen
final

Called when the button is pressed or opened from the keyboard; null puts it out of use.

Implementation

final VoidCallback? onOpen;