isWidgetTreeReady method

  1. @protected
bool isWidgetTreeReady ([String groupName ])
@protected

Returns whether the application has rendered its first frame and it is appropriate to display the Widget tree in the inspector.

Implementation

@protected
bool isWidgetTreeReady([ String groupName ]) {
  return WidgetsBinding.instance != null &&
         WidgetsBinding.instance.debugDidSendFirstFrameEvent;
}