WaView constructor

WaView({
  1. required WebRequest rq,
  2. required String widget,
  3. Map<String, Object?> params = const {},
})

Creates an instance of WaView.

The constructor requires a WebRequest object rq and a widget path, with an optional params map that can be used to pass additional data to the view during rendering.

Implementation

WaView({
  required this.rq,
  required this.widget,
  this.params = const {},
});