maybeOf static method

FTileData? maybeOf(
  1. BuildContext context
)

Returns the FTileData of the FTile in the given context.

Contract

Throws AssertionError if there is no ancestor FTile in the given context.

Implementation

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