import 'package:eitc_erm_dental_flutter/funcs.dart'; import 'package:flutter/services.dart'; import 'package:image/image.dart'; ///设备WIFI前缀,固定的 const String deviceWifiPrefix = "mlg_"; ///Flavor慧视健康 const String flavorHsjk = "hsjk"; ///Flavor慧视通 const String flavorHst = "hst"; ///慧视健康IOS appid const String _iosAppIdHsjk = "6737254914"; ///慧视通IOS appid const String _iosAppIdHst = "00000000"; ///IOS的appid,默认返回慧视健康的 String get iosAppId { if (isHst) { return _iosAppIdHst; } else { return _iosAppIdHsjk; } } ///上传接口appid const String uploadApplicationKey = "GK-KQJ"; ///上传接口文件类型 const String uploadFileType = "oral_mirror_image"; ///Token String _token = ""; ///Token String get token => _token; ///是否有token bool get hasToken => token.isNotEmpty; ///更新Token void updateToken(String str) { _token = str; } ///是否正在同步咨询人数据 bool isSyncingPatient = false; ///选择的咨询人ID int selectedPatientId = -1; ///照片字体 BitmapFont? photoFont; ///视频channel名字 const String _videoChannelName = "videoControl"; ///文件channel名字 const String _fileChannelName = "fileControl"; ///视频channel final MethodChannel videoChannel = const MethodChannel(_videoChannelName); ///文件channel final MethodChannel fileChannel = const MethodChannel(_fileChannelName);