VncViewerWidget constructor

const VncViewerWidget({
  1. Key? key,
  2. required String hostName,
  3. required String password,
  4. int port = 5900,
  5. dynamic onStart(
    1. int clientId
    )?,
  6. dynamic onClose(
    1. int clientId
    )?,
  7. dynamic onError(
    1. String msg
    )?,
  8. VoidCallback? onImageResize,
})

Implementation

const VncViewerWidget({
  super.key,
  required this.hostName,
  required this.password,
  this.port = 5900,
  this.onStart,
  this.onClose,
  this.onError,
  this.onImageResize,
});