.
MediaQuery.of(context); screenSize = mqd.size; dpr = mqd.devicePixelRatio; initPlatformState(); } Initializing Platform State The initPlatformState function sets up the FlutterGlPlugin, a bridge for integrating Three.js with Flutter. It initializes the WebGL context and prepares the environment for