BouncingBehavior class abstract

An object that determines the behavior of a bounceable sheet when it is out of the content bounds.

See also:

  • FixedBouncingBehavior, which allows the sheet position to exceed the content bounds by a fixed amount.
  • DirectionAwareBouncingBehavior, which allows the sheet position to exceed the content bounds by different amounts based on the direction of a drag gesture.
Implementers

Constructors

BouncingBehavior()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeBounceablePixels(double offset, SheetMetrics metrics) double
Returns the number of pixels that the sheet position can go beyond the content bounds.
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