feat: CallPage UI, ReceivingCall UI, Default dialer app, can call/receive calls and hangup #46

Closed
florian wants to merge 16 commits from addCallpageUI into dev
Showing only changes of commit 3129e51eb4 - Show all commits

View File

@ -265,6 +265,18 @@ class _ContactModalState extends State<ContactModal> {
await _callService.makeGsmCall(context, phoneNumber: phoneNumber);
}
},
onLongPress: () {
// Navigate to the beautiful calling page demo
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => CallPage(
displayName: widget.contact.displayName,
thumbnail: widget.contact.thumbnail,
),
),
);
},
),
ListTile(
leading: const Icon(Icons.message, color: Colors.blue),