DinoGame constructor
DinoGame({
- required Vector2 screenSize,
- required ThemeData theme,
Implementation
DinoGame({
required this.screenSize,
required this.theme,
}) : super(
camera: CameraComponent.withFixedResolution(
width: screenSize.x,
height: screenSize.y,
)) {
instance = this;
}