keptAlive property

  1. @override
bool keptAlive
override

Whether the widget is currently being kept alive, i.e. has keepAlive set to true and is offscreen.

Implementation

@override
bool get keptAlive => keepAlive && !isVisible;