ExtraButtonPosition enum

Where a GlassBottomBarExtraButton appears relative to the search pill in a GlassSearchableBottomBar.

Has no effect in GlassBottomBar, where the extra button always sits between the tab content and the right edge.

Inheritance
Available extensions

Values

beforeSearch → const ExtraButtonPosition

Place the button before the search pill — between the tab pill and the search pill. This is the default and matches the classic iOS "compose" button position seen in Mail and Messages.

afterSearch → const ExtraButtonPosition

Place the button after the search pill — pinned to the trailing (right) edge of the bar. Use this when you want a persistent action button that stays visible at the far right even while search is expanded. The search pill's spring calculations automatically reserve the required space so no RenderFlex overflow occurs during transitions.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

values → const List<ExtraButtonPosition>
A constant List of the values in this enum, in order of their declaration.