LiquidChromeDetails class

Everything a LiquidChromeBuilder needs to draw a slot.

Annotations

Constructors

LiquidChromeDetails({required LiquidChromeSlot slot, required LiquidChromeKind kind, required List<LiquidDestination> destinations, required List<int> visibleIndices, required int selectedIndex, required ValueChanged<int> select, required LiquidTabAction? trailing, required bool minimized, required VoidCallback expand, required bool sidebarVisible, required ValueSetter<bool> setSidebarVisible, required LiquidShellStrings strings, LiquidSearchChromeDetails? search})
Creates the details. Every field but search is required.
const

Properties

destinations → List<LiquidDestination>
All destinations.
final
expand → VoidCallback
Tab bar slot: leaves the scroll minimised state. It does not expand the bar while the search tab is selected.
final
hashCode → int
The hash code for this object.
no setteroverride
kind → LiquidChromeKind
The current chrome. Never LiquidChromeKind.hidden: the builder is not called then.
final
minimized → bool
Tab bar slot, compact only: the bar is minimised, by a scroll (minimizeOnScroll) or while the search tab is selected (the bar collapses beside the search field).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The shell's search, when it has a search tab.
final
select → ValueChanged<int>
Runs the same path as a tap: guard, then onDestinationSelected, then close the overlay sidebar.
final
selectedIndex → int
The selected index.
final
setSidebarVisible → ValueSetter<bool>
Shows or hides the sidebar.
final
sidebarVisible → bool
Whether the sidebar is shown.
final
slot → LiquidChromeSlot
The slot being built.
final
strings → LiquidShellStrings
The shell's strings.
final
trailing → LiquidTabAction?
The tab bar trailing action, if any.
final
visibleIndices → List<int>
Indices into destinations this slot shows: everywhere-only for the tab bar, all for the sidebar.
final

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
Field by field. Callbacks (select, expand, setSidebarVisible) compare by identity.
override