|
|
|
|
@ -102,7 +102,7 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
),
|
|
|
|
|
10.height,
|
|
|
|
|
Text(
|
|
|
|
|
const Text(
|
|
|
|
|
"Aamir Saleem Ahmad",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 21,
|
|
|
|
|
@ -112,7 +112,7 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
height: 23 / 12,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
const Text(
|
|
|
|
|
"Ringing...",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
@ -124,7 +124,7 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
height: 23 / 24,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
const SizedBox(
|
|
|
|
|
height: 2,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -177,20 +177,7 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
if (widget.isVideoCall!)
|
|
|
|
|
RotationTransition(
|
|
|
|
|
turns: Tween(
|
|
|
|
|
begin: 0.0,
|
|
|
|
|
end: -.1,
|
|
|
|
|
)
|
|
|
|
|
.chain(
|
|
|
|
|
CurveTween(
|
|
|
|
|
curve: Curves.elasticIn,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
.animate(
|
|
|
|
|
_animationController!,
|
|
|
|
|
),
|
|
|
|
|
child: RawMaterialButton(
|
|
|
|
|
RawMaterialButton(
|
|
|
|
|
onPressed: () {
|
|
|
|
|
_camOff();
|
|
|
|
|
},
|
|
|
|
|
@ -205,23 +192,9 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
color: MyColors.white,
|
|
|
|
|
size: 35.0,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
else
|
|
|
|
|
RotationTransition(
|
|
|
|
|
turns: Tween(
|
|
|
|
|
begin: 0.0,
|
|
|
|
|
end: -.1,
|
|
|
|
|
)
|
|
|
|
|
.chain(
|
|
|
|
|
CurveTween(
|
|
|
|
|
curve: Curves.elasticIn,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
.animate(
|
|
|
|
|
_animationController!,
|
|
|
|
|
),
|
|
|
|
|
child: RawMaterialButton(
|
|
|
|
|
RawMaterialButton(
|
|
|
|
|
onPressed: () {
|
|
|
|
|
_loudOn();
|
|
|
|
|
},
|
|
|
|
|
@ -237,21 +210,7 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
size: 35.0,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
RotationTransition(
|
|
|
|
|
turns: Tween(
|
|
|
|
|
begin: 0.0,
|
|
|
|
|
end: -.1,
|
|
|
|
|
)
|
|
|
|
|
.chain(
|
|
|
|
|
CurveTween(
|
|
|
|
|
curve: Curves.elasticIn,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
.animate(
|
|
|
|
|
_animationController!,
|
|
|
|
|
),
|
|
|
|
|
child: RawMaterialButton(
|
|
|
|
|
RawMaterialButton(
|
|
|
|
|
onPressed: () {
|
|
|
|
|
_micOff();
|
|
|
|
|
},
|
|
|
|
|
@ -267,7 +226,6 @@ class _OutGoingCallState extends State<OutGoingCall> with SingleTickerProviderSt
|
|
|
|
|
size: 35.0,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
RawMaterialButton(
|
|
|
|
|
onPressed: () {
|
|
|
|
|
backToHome();
|
|
|
|
|
|