CNToolbarSpace class

Empty space between toolbar items.

Inheritance

Constructors

CNToolbarSpace.fixed({String? id})
A standard gap. On iOS 26 it also starts a new Liquid Glass group.
const
CNToolbarSpace.flexible({String? id})
Space that takes the room left, pushing the items after it to the trailing edge.
const

Properties

flexible → bool
Whether the space is flexible.
final
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