isVisible

Determines the overall visibility state of the Gleam content.

This property combines two conditions:

  • shouldBeVisible: Whether the current navigation state should be visible based on the back stack.

  • gleamState.isVisible: The internal visibility state of the Gleam component.

Both conditions must be true for the content to be considered visible.

This allows for fine-grained control over visibility based on navigation state and Gleam-specific logic.