ProgramDiagnosticsOptions class final

Configuration for the universal in-app program diagnostics overlay.

Constructors

ProgramDiagnosticsOptions({bool initiallyVisible = false, KeyBinding? toggleBinding, bool keyboardNavigation = false, int maxMessages = 8, ProgramDiagnosticsPosition position = ProgramDiagnosticsPosition.topRight, bool captureOutput = true})

Properties

captureOutput → bool
Whether print() calls are captured into the diagnostics session.
final
hashCode → int
The hash code for this object.
no setterinherited
initiallyVisible → bool
Whether the overlay starts visible.
final
keyboardNavigation → bool
Whether the overlay consumes keyboard navigation while visible.
final
maxMessages → int
Maximum number of recent runtime messages displayed.
final
position → ProgramDiagnosticsPosition
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toggleBinding → KeyBinding
Binding consumed by Program to toggle the overlay.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited