detected static method

bool detected(
  1. BuildContext context
)

Implementation

static bool detected(BuildContext context) {
  return context.findAncestorStateOfType<_RobotDetectorState>()!._detected;
}