|
|
@ -934,21 +934,19 @@ class _AgentViewState extends State<AgentView> with WidgetsBindingObserver { |
|
|
Widget _buildPhoneCallOverlay(BuildContext context, bool isDarkMode) { |
|
|
Widget _buildPhoneCallOverlay(BuildContext context, bool isDarkMode) { |
|
|
return Container( |
|
|
return Container( |
|
|
color: Colors.transparent, // 设置整个覆盖层为透明 |
|
|
color: Colors.transparent, // 设置整个覆盖层为透明 |
|
|
child: SafeArea( |
|
|
child: Column( |
|
|
child: Column( |
|
|
children: [ |
|
|
children: [ |
|
|
// 中间空白区域 - 完全透明 |
|
|
// 中间空白区域 - 完全透明 |
|
|
const Expanded( |
|
|
const Expanded( |
|
|
child: SizedBox(), // 空的占位符,完全透明 |
|
|
child: SizedBox(), // 空的占位符,完全透明 |
|
|
), |
|
|
), |
|
|
|
|
|
|
|
|
|
|
|
// 底部控制按钮 - 包含音频波纹 |
|
|
// 底部控制按钮 - 包含音频波纹 |
|
|
Container( |
|
|
Container( |
|
|
color: isDarkMode ? Colors.black : Colors.white, |
|
|
color: isDarkMode ? Colors.black : Colors.white, |
|
|
child: _buildPhoneCallControls(isDarkMode), |
|
|
child: _buildPhoneCallControls(isDarkMode), |
|
|
), |
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
|
|
|
), |
|
|
), |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|