maybeOf static method
Returns the FItemData in the given context
.
Implementation
static FItemData? maybeOf(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<FInheritedItemData>()?.data;
Returns the FItemData in the given context
.
static FItemData? maybeOf(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<FInheritedItemData>()?.data;