platform_serial_web library

Web plugin registrar for platform_serial.

This file is the entry point for the Flutter Web plugin system. The actual Web Serial API implementation is in src/platform/web_impl.dart and is selected automatically via conditional imports using dart.library.js_interop.

Browser requirements:

  • Chrome/Edge 89+ (Web Serial API support)
  • HTTPS or localhost (required by Web Serial API)
  • User gesture for requestPort() (browser security policy)

Classes

PlatformSerialWeb
Web plugin class registered by the Flutter plugin system.