of<T> static method

FSelectGroupItemData<T> of<T>(
  1. BuildContext context
)

Return the FSelectGroup's item data.

Implementation

static FSelectGroupItemData<T> of<T>(BuildContext context) {
  assert(debugCheckHasAncestor<FSelectGroupItemData<T>>('${FSelectGroup<T>}', context, generic: true));
  return context.dependOnInheritedWidgetOfExactType<FSelectGroupItemData<T>>()!;
}