getEffectByKey<T extends TouchRippleEffect> method

T? getEffectByKey<T extends TouchRippleEffect>(
  1. String key
)

Returns the ripple effect instance corresponding a given key.

Implementation

T? getEffectByKey<T extends TouchRippleEffect>(String key) {
  return _stateMap[key] as T?;
}