shouldKeepAlive static method
- BuildContext context
Implementation
static bool shouldKeepAlive(BuildContext context) {
final KeepQuestionWidgetAlive? result = context
.dependOnInheritedWidgetOfExactType<KeepQuestionWidgetAlive>();
return result?.keepWidgetAlive ?? false;
}