maybeOf static method

MinMultiProvider? maybeOf(
  1. BuildContext context
)

Retrieves the nearest MinMultiProvider from the widget tree, if available.

Implementation

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