maybeOf static method

ModalProvider? maybeOf(
  1. BuildContext context
)

Implementation

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