create
Creates a new instance of VisibilityState with the given initial state.
Return
A new instance of VisibilityState with the specified initial state.
Parameters
initialState
The initial visibility state of the controller.
Creates a new instance of VisibilityState with the given initial state.
A new instance of VisibilityState with the specified initial state.
The initial visibility state of the controller.