弹出电话页面

This commit is contained in:
GYJ
2024-11-27 18:18:08 +08:00
parent 938a5df35f
commit 1da1683adc
14 changed files with 252 additions and 16 deletions

37
lib/call/call_view.dart Normal file
View File

@@ -0,0 +1,37 @@
import 'package:cashier_reserve/common/base/ui.dart';
import 'package:cashier_reserve/common/channel/model/call_status_change_model.dart';
class CallView extends StatefulWidget {
final CallStatusChangeModel statusModel;
const CallView({super.key, required this.statusModel});
@override
State<StatefulWidget> createState() {
return _CallViewState();
}
}
class _CallViewState extends State<CallView> {
@override
Widget build(BuildContext context) {
return PopScope(
canPop: false,
child: Scaffold(
backgroundColor: Colors.black.withOpacity(0.2),
body: GestureDetector(
onTap: () {
FocusScope.of(context).requestFocus(FocusNode());
},
child: Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
color: Colors.blue,
child: Container(),
),
),
),
);
}
}