showElement method

bool showElement(
  1. T element
)

Returns whether element should be shown in the Window.

The default implementation uses SceneElement.enabled to determine whether to show a SceneElement.

If this method returns false the other methods won't be called for that SceneElement.

Implementation

bool showElement(T element) => element.enabled;