maybeOf static method

PinInputScope? maybeOf(
  1. BuildContext context
)

Gets the PinInputScope from the widget tree, or null if not found.

Implementation

static PinInputScope? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<PinInputScope>();
}