Commit 48e2f3c4 authored by Inomjon's avatar Inomjon

Call cannection to app

parent 76d23890
......@@ -25,43 +25,43 @@ class IncomingCallScreen extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Padding(
padding: EdgeInsets.all(36),
child: Text(_getCallTitle(), style: TextStyle(fontSize: 28)),
padding: const EdgeInsets.all(36),
child: Text(_getCallTitle(), style: const TextStyle(fontSize: 28)),
),
Padding(
const Padding(
padding: EdgeInsets.only(top: 36, bottom: 8),
child: Text("Members:", style: TextStyle(fontSize: 20)),
),
Padding(
padding: EdgeInsets.only(bottom: 86),
padding: const EdgeInsets.only(bottom: 86),
child: Text(_callSession.opponentsIds.join(", "),
style: TextStyle(fontSize: 18)),
style: const TextStyle(fontSize: 18)),
),
Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Padding(
padding: EdgeInsets.only(right: 36),
padding: const EdgeInsets.only(right: 36),
child: FloatingActionButton(
heroTag: "RejectCall",
child: Icon(
backgroundColor: Colors.red,
onPressed: () => _rejectCall(context, _callSession),
child: const Icon(
Icons.call_end,
color: Colors.white,
),
backgroundColor: Colors.red,
onPressed: () => _rejectCall(context, _callSession),
),
),
Padding(
padding: EdgeInsets.only(left: 36),
padding: const EdgeInsets.only(left: 36),
child: FloatingActionButton(
heroTag: "AcceptCall",
backgroundColor: Colors.green,
onPressed: () => _acceptCall(context, _callSession),
child: Icon(
Icons.call,
color: Colors.white,
),
backgroundColor: Colors.green,
onPressed: () => _acceptCall(context, _callSession),
),
),
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment