maintainInteractivity property Null safety

bool maintainInteractivity

Whether to allow the widget to be interactive when hidden.

To set this, maintainSize must also be set.

By default, with maintainInteractivity set to false, touch events cannot reach the child when it is hidden from the user. If this flag is set to true, then touch events will nonetheless be passed through.

Dynamically changing this value may cause the current state of the subtree to be lost (and a new instance of the subtree, with new State objects, to be immediately created if visible is true).


final bool maintainInteractivity;