expandedOf static method

bool? expandedOf(
  1. BuildContext context
)

The expanded state a field at context says; null outside a host.

Implementation

static bool? expandedOf(BuildContext context) => context
    .dependOnInheritedWidgetOfExactType<ExpressiveFieldNodeHost>()
    ?.expanded;