initCamera method
Implementation
@override
Widget initCamera() {
const String viewType =
'vn.zensho.hikvision.hikvision_flutter.platformView';
// Pass parameters to the platform side.
final Map<String, dynamic> creationParams = <String, dynamic>{};
return UiKitView(
viewType: viewType,
layoutDirection: TextDirection.ltr,
creationParams: creationParams,
creationParamsCodec: const StandardMessageCodec(),
);
}