visibility property

dynamic Function(bool)? visibility
final

Callback for dropdown visibility.

If both visibility and overlayController are provided, this callback never listens the changes of overlayController. You have to explicitly check for overlayController visibility states using overlayController.isShowing property.

Implementation

final Function(bool)? visibility;