PatchbayInspectorSurface class abstract interface

The Flutter-SDK side of the switch, isolated so it can be faked in tests.

Everything build-mode dependent lives behind this interface. The default implementation is the only place that touches WidgetsBinding, which is what lets a test exercise the "this build cannot show the inspector" rejection without building in profile mode.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionOnTap bool
Whether a tap on the device is interpreted as a widget selection.
no setter
selectMode bool
getter/setter pair
unavailableReason PatchbayInspectUnavailableWire?
null when the on-device inspector can actually be shown.
no setter

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