CNToolbarInspectorToggle class

The standard button that shows and hides the window's inspector (NSToolbarItem.Identifier.toggleInspector, macOS 14+).

Shown only while the window has an inspector: a split view controller with an inspector item.

Inheritance

Constructors

CNToolbarInspectorToggle()
Creates the inspector toggle.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String?
Identifies the item across rebuilds, so a change updates the native item in place. Unique within a toolbar. Without one, an item is known by its kind and its position among the items of that kind.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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