of static method

Implementation

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