GlassVerticalBarMetrics class abstract final

Geometry of iPhone Duo's vertical bar strip.

Measured on the iOS 27.1 simulator (24A94401) from SwiftUI and UIKit bars at rest; the package draws its strip chrome to these numbers so the two read as the same system.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Constants

backgroundInset → const double
Distance from the strip's inner edge to where its background starts under Reduce Transparency.
controlExtent → const double
Width of a control in the strip: the diameter of a lone item's circle, and the width of a capsule holding several.
edgeMargin → const double
Distance of the strip's controls from a screen edge with nothing else on it — the bottom, usually, and the top where the status bar is hidden — and of the horizontal title row from the top in every posture.
inset → const double
Distance from the strip's inner edge, the one facing the content, to its controls. The controls are therefore not centred in the strip: in the 84pt strip they sit 12pt from the content and 24pt from the screen edge.
itemExtent → const double
Height one item takes inside a capsule of several — a two-item capsule is 100pt tall. A lone item is a controlExtent circle instead.
rowHeight → const double
Height of the horizontal row that keeps the title, and any items that do not go vertical, at the top of the content area.
rowInset → const double
Gap between the strip and the horizontal row.
spacing → const double
Gap between two controls in the strip.
stripWidth → const double
Width of the strip, from the screen edge to the content.
titleInset → const double
Distance from the screen edge away from the strip to the horizontal row: to the title in a left-to-right app with the strip on the right, and to the items that stay horizontal in a right-to-left one.