maybeOf method Null safety
- BuildContext context
Allows finding of the nearest TapRegionRegistry, such as a RenderTapRegionSurface.
Implementation
static TapRegionRegistry? maybeOf(BuildContext context) {
return context.findAncestorRenderObjectOfType<RenderTapRegionSurface>();
}