maybeOf static method
Returns the TouchRippleStyle most closely associated with the given context, and returns null if there is no ScrollController associated with the given context.
Implementation
static TouchRippleStyle? maybeOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<TouchRippleStyle>();
}