setHandlesVisible method

void setHandlesVisible(
  1. bool visible
)

Implementation

void setHandlesVisible(bool visible) {
  if (handlesVisible == visible) {
    return;
  }
  handlesVisible = visible;
  if (SchedulerBinding.instance.schedulerPhase ==
      SchedulerPhase.persistentCallbacks) {
    SchedulerBinding.instance.addPostFrameCallback(markNeedsBuild);
  } else {
    markNeedsBuild();
  }
}