FloatingHeaderSnapMode enum

Specifies how a partially visible SliverFloatingHeader animates into a view when a user scroll gesture ends.

During a user scroll gesture the header and the rest of the scrollable content move in sync. If the header is partially visible when the scroll gesture ends, SliverFloatingHeader.snapMode specifies if the header should FloatingHeaderSnapMode.overlay the scrollable's content as it expands until it's completely visible, or if the content should scroll out of the way as the header expands.

Inheritance
Available extensions

Values

overlay → const FloatingHeaderSnapMode

At the end of a user scroll gesture, the SliverFloatingHeader will expand over the scrollable's content.

scroll → const FloatingHeaderSnapMode

At the end of a user scroll gesture, the SliverFloatingHeader will expand and the scrollable's content will continue to scroll out of the way.

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<FloatingHeaderSnapMode>
A constant List of the values in this enum, in order of their declaration.