Screen constructor

Screen()

Constructs a singleton instance of Screen.

Screen is designed to work as a singleton.

Implementation

factory Screen() => _singleton ??= Screen._();