isIn static method

bool isIn(
  1. BuildContext context
)

Implementation

static bool isIn(BuildContext context) =>
    context.getInheritedWidgetOfExactType<_ElevatedSurfaceScope>() != null;