of static method

ItemPosition? of(
  1. BuildContext context
)

Implementation

static ItemPosition? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<ItemPosition>();
}