of static method

Implementation

static EcpExpandableState? of(BuildContext context) {
  final _EcpExpandableScope? scope =
      context.dependOnInheritedWidgetOfExactType<_EcpExpandableScope>();
  return scope?.expandableState;
}