anrEnabled property

bool anrEnabled
getter/setter pair

Enable or disable ANR (Application Not Responding). Available only for Android. Disabled by default as the stack trace most of the time is hanging on the MessageChannel from Flutter, but you can enable it if you have Java/Kotlin code as well.

Implementation

bool anrEnabled = false;