Panels class

Every panel one app is serving, over one InspectorCore.

Constructors

Panels(InspectorCore core)

Properties

core → InspectorCore
final
descriptors → List<PanelDescriptor>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String id, String label, {String? description}) → Panel
Starts serving a panel. Adding a second one under the same id replaces the first — a hot reload re-running a plugin's constructor is the case, and two half-installed panels would be worse than the newer one winning.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String id) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String id) → Panel?