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