CNToolbarSidebarToggle class
The standard button that shows and hides the window's sidebar
(NSToolbarItem.Identifier.toggleSidebar, macOS).
Shown only while the window has a sidebar: a split view controller with
a sidebar item, such as the one CNTabBarNative installs on macOS. It is
left out otherwise, and on iOS.
- Inheritance
-
- Object
- CNToolbarItem
- CNToolbarSidebarToggle
Constructors
- CNToolbarSidebarToggle()
-
Creates the sidebar 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