ScaffoldBarData class
Data class for identifying scaffold bar (header/footer) positioning.
Provides context about a bar's position within the scaffold layout, including whether it's a header or footer and its index among siblings.
Constructors
- ScaffoldBarData({bool isHeader = true, required int childIndex, required int childrenCount})
-
Creates ScaffoldBarData.
const
Properties
- childIndex → int
-
Zero-based index of this child bar.
final
- childrenCount → int
-
Total number of children in this section.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isHeader → bool
-
Whether this bar is in the header section (vs footer).
final
- 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