TouchRippleBehavior class

A class declared to define the basic behavior of touch ripple.

Inheritance

Constructors

TouchRippleBehavior({TouchRippleOverlapBehavior? overlap, double? lowerPercent, double? upperPercent, double? fadeLowerPercent, double? fadeUpperPercent, double? eventCallBackableMinPercent, Duration? spreadDuration, Curve? spreadCurve, Duration? fadeInDuration, Curve? fadeInCurve, Duration? fadeOutDuration, Curve? fadeOutCurve, Duration? canceledDuration, Curve? canceledCurve})
const

Properties

canceledCurve Curve?
Defines the curve of the fade out curve animation when the touch ripple effect is cancelled midway by the touch ripple overlap behavior.
final
canceledDuration Duration?
Defines the duration for the touch ripple effect to fade out when it is interrupted by a touch ripple overlap behavior.
final
eventCallBackableMinPercent double?
Defines the point in the spread animation of the touch ripple effect when the registered event callback function can be called.
final
fadeInCurve Curve?
Defines the curve of the touch ripple fade-in of fade curved animation.
final
fadeInDuration Duration?
Defines the duration of the touch ripple fade-in of fade animation.
final
fadeLowerPercent double?
Defines in decimal form ranging from 0 to 1, at what point the fade animation of the touch ripple effect will be started.
final
fadeOutCurve Curve?
Defines the curve of the touch ripple fade-out of fade curved animation.
final
fadeOutDuration Duration?
Defines the duration of the touch ripple fade-out of fade animation.
final
fadeUpperPercent double?
Defines in decimal form ranging from 0 to 1, at what point the fade animation of the touch ripple effect will be ended.
final
hashCode int
The hash code for this object.
no setterinherited
lowerPercent double?
Defines in decimal form ranging from 0 to 1, at what point the spread animation of the touch ripple effect will be started.
final
overlap TouchRippleOverlapBehavior?
Defines the behavior when the effect is overlapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spreadCurve Curve?
Defines the curve of the touch ripple spread curved animation.
final
spreadDuration Duration?
Defines the duration of the touch ripple spread animation.
final
upperPercent double?
Defines in decimal form ranging from 0 to 1, at what point the spread animation of the touch ripple effect will be ended.
final

Methods

copyWith({TouchRippleOverlapBehavior? overlap, double? lowerPercent, double? upperPercent, double? fadeLowerPercent, double? fadeUpperPercent, double? eventCallBackableMinPercent, Duration? spreadDuration, Curve? spreadCurve, Duration? fadeInDuration, Curve? fadeInCurve, Duration? fadeOutDuration, Curve? fadeOutCurve, Duration? canceledDuration}) TouchRippleBehavior
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pasteWith(TouchRippleBehavior object) TouchRippleBehavior
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited