enableInRelease property

bool enableInRelease
final

Whether the debug panel gesture is active in release builds.

Defaults to true — the panel is reachable in release mode. Set to false to restrict the gesture to debug and profile builds only (the behaviour of previous versions).

When false, the effective guard is equivalent to enabled && !kReleaseMode.

Implementation

final bool enableInRelease;