TouchRippleController class
- Inheritance
-
- Object
- Listenable
- TouchRippleController
Constructors
Properties
- focusState ↔ TouchRippleBackgroundState?
-
This getter is returns defined focus state with this controller.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverState ↔ TouchRippleBackgroundState?
-
This getter is returns defined hover state with this controller.
getter/setter pair
- isOnHoveredDisableFocusEffect ↔ bool
-
This getter is returns
_isOnHoveredDisableFocusEffect
of this controller settings value.getter/setter pair -
paints
→ List<
TouchRipplePaintable> -
Returns a list of all actived states.
no setter
-
rippleStates
→ List<
TouchRippleState> -
Defines attached list of
TouchRippleState
.latefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vsync ↔ TickerProvider
-
Defines the vsync of AnimationController of attached states.
latefinal
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object notifies its listeners.
override
-
attach(
TouchRippleState state) → void - Attach a given touch ripple state with the this controller.
-
createBackgroundState(
{required Color color, required Duration fadeInDuration, required Curve fadeInCurve, required Duration? fadeOutDuration, required Curve? fadeOutCurve, required VoidCallback onDispatch}) → TouchRippleBackgroundState - Returns a new instance of TouchRippleBackgroundState corresponding to the given behaviors.
-
createState(
{required TouchRippleBehavior behavior, required VoidCallback callback, required Offset eventedOffset, required bool isRejectable}) → TouchRippleState -
Returns a new instance of TouchRippleState corresponding to the given
behavior
. -
dispatch(
TouchRippleState state) → void - Dispatch a given touch ripple state with the this controller.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
pasteWith(
TouchRippleController controller) → void - Delegate the states of a given controller to this controller.
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
override
-
resetVsync(
TickerProvider newVsync) → void - Redefine the current defined vsync of this controller.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited