maybeOf static method

FItemData? maybeOf(
  1. BuildContext context
)

Returns the FItemData in the given context.

Implementation

static FItemData? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<FInheritedItemData>()?.data;