弹出电话页面
This commit is contained in:
37
lib/call/call_view.dart
Normal file
37
lib/call/call_view.dart
Normal 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(),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user