detectLongTasks property

bool detectLongTasks
getter/setter pair

Enable or disable detection of "long tasks"

Long task detection attempts to detect when an application is doing too much work on the main isolate, or on the main native thread, which could prevent your app from rendering at a smooth framerate.

Defaults to true.

Implementation

bool detectLongTasks;