maybeOf static method

Returns the FInheritedItemCallbacks in the given context, or null if not found.

Implementation

static FInheritedItemCallbacks? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<FInheritedItemCallbacks>();