BankAppBarTitleMode enum
How a bank app bar sizes and places its title block.
Values
- standard → const BankAppBarTitleMode
-
One toolbar row: the title on a single line with BankAppBar.subtitle beneath it as a supporting line.
The only mode that fits inside a stock kToolbarHeight bar, and the default everywhere so existing screens keep their height.
- large → const BankAppBarTitleMode
-
Two tiers: the toolbar row keeps the leading action and the actions, while the title drops onto its own full-width row underneath at BankTokens.headlineLarge.
The title then aligns to the screen margin rather than to the leading action, which is what makes a large title read as a page heading instead of a wide toolbar label.
- collapsing → const BankAppBarTitleMode
-
large that shrinks into a compact centred title as content scrolls under it — the platform large-title pattern.
Only BankSliverAppBar can collapse: a Scaffold.appBar is a sibling of the body and never sees its scroll position, so on BankAppBar this renders as large.
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<
BankAppBarTitleMode> - A constant List of the values in this enum, in order of their declaration.