of static method

FlyViewState? of(
  1. BuildContext context
)

Implementation

static FlyViewState? of(BuildContext context) {
  final _InheritedFly? stack =
      context.dependOnInheritedWidgetOfExactType<_InheritedFly>();
  return stack?.state;
}