// import 'package:flutter/material.dart';
// import 'package:ride/constant/api_key.dart';
// import 'package:ride/constant/box_name.dart';
// import 'package:ride/main.dart';
// import 'package:zego_uikit_prebuilt_call/zego_uikit_prebuilt_call.dart';

// class CallPage extends StatelessWidget {
//   const CallPage({Key? key, required this.callID}) : super(key: key);
//   final String callID;

//   @override
//   Widget build(BuildContext context) {
//     return ZegoUIKitPrebuiltCall(
//       appID: AK
//           .zegoCloudAppID, // Fill in the appID that you get from ZEGOCLOUD Admin Console.
//       appSign: AK
//           .zegoCloudAppSIGN, // Fill in the appSign that you get from ZEGOCLOUD Admin Console.
//       userID: box.read(BoxName.passengerID) ?? box.read(BoxName.driverID),
//       userName: box.read(BoxName.name) ?? box.read(BoxName.nameDriver),
//       callID: callID,
//       // You can also use groupVideo/groupVoice/oneOnOneVoice to make more types of calls.
//       config: ZegoUIKitPrebuiltCallConfig.oneOnOneVoiceCall(),
//     );
//   }
// }
