TouchRippleSolidEffect class

Inheritance

Constructors

TouchRippleSolidEffect({required TickerProvider vsync, required TouchRippleAnimation animation, required Color color})

Properties

color Color
The background color of this solid effect.
final
fadePercent double
Returns animation progress value of fade animation.
no setter
hashCode int
The hash code for this object.
no setterinherited
isAttached bool
Whether the ripple effect is attached to the touch ripple controller.
getter/setter pairinherited
isInitialized bool
Whether all animation-related instances have been initialized.
getter/setter pairinherited
onDispose VoidCallback?
Called when after the touch ripple effect has fully completed and the relevant instances have been cleaned up.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
override
dispose() → void
Disposes of the Ticker or related animation instances.
override
fadeIn() → dynamic
fadeOut() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(TouchRippleContext context, Canvas canvas, Size size) → void
override
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
override
toString() String
A string representation of this object.
inherited

Operators

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