Dragging class

A parameter class that pertains to PLayers and their parallax animation during an active drag or pointer hover event.

  • resets, a flag to toggle whether layers reset on pointer exit
  • duration of parallax animation under the pointer
  • curve of parallax animation under the pointer

Constructors

Dragging({bool resets = true, Duration duration = const Duration(milliseconds: 100), Curve curve = Curves.ease})
A parameter class that pertains to PLayers and their parallax animation during an active drag or pointer hover event.
const

Properties

curve → Curve
The Curve of the animation that takes place when pointer or sensors data events occur, and so when the widget transforms under the pointer.
final
duration → Duration
The Duration of the animation that takes place when pointer or sensors data events occur, and so when the widget transforms under the pointer.
final
hashCode → int
The hash code for this object.
no setterinherited
resets → bool
Whether PLayers within an XL.layers stack should reset to their default position when the pointer leaves their hover region.
final
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