TouchRippleBackgroundState class

Inheritance
Mixed in types

Constructors

TouchRippleBackgroundState({required TickerProvider vsync, required Color color, required Duration fadeInDuration, required Curve fadeInCurve, required Duration? fadeOutDuration, required Curve? fadeOutCurve, required VoidCallback onDismissed})

Properties

color Color
latefinal
fadePercent double
Returns animation progress value of fade animation.
no setter
hashCode int
The hash code for this object.
no setterinherited
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 initialized animation instances.
override
fadeIn() → void
Run the fade-in animation.
override
fadeOut() → void
Run the fade-out animation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint({required Canvas canvas, required Size size, required double scale, required double blur, required Color color}) → void
Perform to take a paint task corresponding to the current state, referencing the given arguments.
override
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
override
start() → void
Run the animation initialised in the current instance.
override
stop() → void
Stop the actived animation of current instance.
override
toString() String
A string representation of this object.
inherited

Operators

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