ScrollAnimatedCondition enum
A condition enum to decide how ScrollAnimatedFab does animation when scrolling.
Constructors
- ScrollAnimatedCondition()
-
const
Values
- offset → const ScrollAnimatedCondition
-
Shows fab when current scroll offset is larger then given threshold.
- reverseOffset → const ScrollAnimatedCondition
-
Shows fab when current scroll offset is less then given threshold.
- direction → const ScrollAnimatedCondition
-
Shows fab when scroll view is swiped up, which makes it scrolls down.
- reverseDirection → const ScrollAnimatedCondition
-
Shows fab when scroll view is swiped down, which makes it scrolls up.
- forceShow → const ScrollAnimatedCondition
-
Always shows fab.
- forceHide → const ScrollAnimatedCondition
-
Always hides fab.
- custom → const ScrollAnimatedCondition
-
Shows fab depended by custom behavior, defaults to show fab always.
Properties
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<
ScrollAnimatedCondition> - A constant List of the values in this enum, in order of their declaration.