dismissible property

bool dismissible
final

Make it false if you want maintain the widget in the tree.

Implementation

final bool dismissible;