activeEffects property

List<TouchRippleEffect> get activeEffects

Returns all the current touch ripple effects that are attached and active to this touch ripple controller as a list.

Implementation

List<TouchRippleEffect> get activeEffects {
  final statesFromMap = _stateMap.entries.map((entry) => entry.value);
  return [...statesFromMap, ..._states];
}