Inheritance
System.Object
BouncingScrollPhysics
public class BouncingScrollPhysics : ScrollPhysics
Constructors
Declaration
public BouncingScrollPhysics(ScrollPhysics parent = null)
Parameters
Properties
Declaration
public override float? dragStartDistanceMotionThreshold { get; }
Property Value
Type |
Description |
System.Nullable<System.Single> |
|
Overrides
Declaration
public override float minFlingVelocity { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Methods
Declaration
public override float applyBoundaryConditions(ScrollMetrics position, float value)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override float applyPhysicsToUserOffset(ScrollMetrics position, float offset)
Parameters
Type |
Name |
Description |
ScrollMetrics |
position |
|
System.Single |
offset |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override ScrollPhysics applyTo(ScrollPhysics ancestor)
Parameters
Returns
Overrides
Declaration
public override float carriedMomentum(float existingVelocity)
Parameters
Type |
Name |
Description |
System.Single |
existingVelocity |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override Simulation createBallisticSimulation(ScrollMetrics position, float velocity)
Parameters
Type |
Name |
Description |
ScrollMetrics |
position |
|
System.Single |
velocity |
|
Returns
Overrides
Declaration
public float frictionFactor(float overscrollFraction)
Parameters
Type |
Name |
Description |
System.Single |
overscrollFraction |
|
Returns
Type |
Description |
System.Single |
|