A scroll behavior that does not prevent the user from exceeding scroll bounds.

Inheritance

Constructors

UnboundedBehavior({double contentExtent: double.INFINITY, double containerExtent: 0.0, @required TargetPlatform platform })

Creates a scroll behavior with no scrolling limits.

Properties

maxScrollOffset → double

read-only
minScrollOffset → double

read-only
containerExtent → double

The linear extent of the exterior of the scrollable widget.

read-only, inherited
contentExtent → double

The linear extent of the content inside the scrollable widget.

read-only, inherited
hashCode → int

Get a hash code for this object.

read-only, inherited
isScrollable → bool

Whether this scroll behavior currently permits scrolling.

read-only, inherited
platform → TargetPlatform

The platform for which physics constants should be approximated.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

applyCurve(double scrollOffset, double scrollDelta) → double

Returns the scroll offset to use when the user attempts to scroll from the given offset by the given delta.

createScrollSimulation(double position, double velocity) → Simulation

Returns a simulation that propels the scrollOffset.

createSnapScrollSimulation(double startOffset, double endOffset, double startVelocity, double endVelocity) → Simulation

Returns an animation that ends at the snap offset.

debugFillDescription(List<String> description) → void

Accumulates a list of strings describing the current node's fields, one field per string. Subclasses should override this to have their information included in toString.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited
updateExtents({double contentExtent, double containerExtent, double scrollOffset: 0.0 }) → double

Updates either content or container extent (or both)

inherited