FrdpView constructor

const FrdpView({
  1. required String sessionId,
  2. Key? key,
})

Displays the remote desktop session associated with the given sessionId.

It also captures keyboard and mouse events and forwards them to the native side.

The sessionId parameter is required to identify which RDP session to display and interact with. Make sure to provide a valid session ID obtained from a successful connection.

Example usage:

final frdp = Frdp();
final session = await frdp.connect(FrdpConnectionConfig(
  host: "192.168.1.1",
  username: "user",
  password: "password",
));
final frdpView = FrdpView(sessionId: session.id);

Implementation

const FrdpView({required this.sessionId, super.key});