PlayxThemeHorizontalSlideAnimation class

Defines a horizontal slide animation effect with adjustable start and end offsets.

Inheritance

Constructors

PlayxThemeHorizontalSlideAnimation({Offset beginOffset = const Offset(-1.0, 0.0), Offset endOffset = const Offset(0.0, 0.0), bool isReversed = false, VoidCallback? onAnimationFinish, Duration duration = const Duration(milliseconds: 300)})
Creates a PlayxThemeHorizontalSlideAnimation with specified horizontal slide settings.
const

Properties

beginOffset → Offset
An offset value that defines the start position of the horizontal slide animation.
final
duration → Duration
The duration of the animation. Defaults to 300 milliseconds. This controls how long the animation takes to complete.
finalinherited
endOffset → Offset
An offset value that defines the end position of the horizontal slide animation.
final
hashCode → int
The hash code for this object.
no setterinherited
isReversed → bool
Determines if the animation should be played in reverse. If set to true, the animation will run in the reverse direction.
finalinherited
onAnimationFinish → VoidCallback?
A callback function that is triggered when the animation finishes. You can use this to perform additional actions after the animation completes.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

animate({required AnimationController controller}) → Future<void>
Animates the selected PlayxThemeAnimation using the provided controller.
override
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