@@ -101,7 +101,7 @@ class _CustomCallCardState extends State<_CustomCallCard> {
101101 const Divider (height: 24 ,),
102102
103103 // Hold/resume call
104- _DisconnectResponses (callId: callId),
104+ _CKDisconnectResponses (callId: callId),
105105 const SizedBox (height: 16 ),
106106
107107 // Hold/resume call
@@ -113,7 +113,7 @@ class _CustomCallCardState extends State<_CustomCallCard> {
113113 const SizedBox (height: 16 ),
114114
115115 // Set specific state of call
116- _CallStateSelector (callId: callId),
116+ _CKCallStateSelector (callId: callId),
117117 const SizedBox (height: 16 ),
118118
119119 // Set specific type of call
@@ -177,7 +177,7 @@ class _CallCapabilities extends StatelessWidget {
177177 const SizedBox (height: 8 ),
178178 Row (
179179 mainAxisAlignment: MainAxisAlignment .center,
180- children: CallKitCapability .values.map ((e) {
180+ children: CKCapability .values.map ((e) {
181181 final enabled = call? .capabilities.contains (e) ?? false ;
182182 return Padding (
183183 padding: const EdgeInsets .all (4.0 ),
@@ -219,7 +219,7 @@ class _CallTypeSelector extends StatelessWidget {
219219 const SizedBox (height: 8 ),
220220 Row (
221221 mainAxisAlignment: MainAxisAlignment .center,
222- children: CallType .values.map ((e) {
222+ children: CKCallType .values.map ((e) {
223223 return Padding (
224224 padding: const EdgeInsets .all (4.0 ),
225225 child: ElevatedButton (
@@ -237,11 +237,11 @@ class _CallTypeSelector extends StatelessWidget {
237237 }
238238}
239239
240- class _CallStateSelector extends StatelessWidget {
240+ class _CKCallStateSelector extends StatelessWidget {
241241 final String callId;
242242
243243 // ignore: unused_element
244- const _CallStateSelector ({super .key, required this .callId});
244+ const _CKCallStateSelector ({super .key, required this .callId});
245245
246246 @override
247247 Widget build (BuildContext context) {
@@ -252,7 +252,7 @@ class _CallStateSelector extends StatelessWidget {
252252 const SizedBox (height: 8 ),
253253 Row (
254254 mainAxisAlignment: MainAxisAlignment .center,
255- children: CallState .values.map ((e) {
255+ children: CKCallState .values.map ((e) {
256256 return Padding (
257257 padding: const EdgeInsets .all (4.0 ),
258258 child: ElevatedButton (
@@ -293,7 +293,7 @@ class _CallMuteSelector extends StatelessWidget {
293293 if (call == null ) {
294294 return ;
295295 }
296- final attr = call.attributes.addWith (CallAttributes .mute);
296+ final attr = call.attributes.addWith (CKCallAttributes .mute);
297297 await webCallkitPlugin.updateCallAttributes (callId, attributes: attr);
298298 },
299299 child: const Text ("Mute" ),
@@ -306,7 +306,7 @@ class _CallMuteSelector extends StatelessWidget {
306306 if (call == null ) {
307307 return ;
308308 }
309- final attr = call.attributes.removeWith (CallAttributes .mute);
309+ final attr = call.attributes.removeWith (CKCallAttributes .mute);
310310 await webCallkitPlugin.updateCallAttributes (callId, attributes: attr);
311311 },
312312 child: const Text ("Unmute" ),
@@ -341,7 +341,7 @@ class _CallHoldSelector extends StatelessWidget {
341341 if (call == null ) {
342342 return ;
343343 }
344- final attr = call.attributes.addWith (CallAttributes .hold);
344+ final attr = call.attributes.addWith (CKCallAttributes .hold);
345345 webCallkitPlugin.updateCallAttributes (callId, attributes: attr);
346346 },
347347 child: const Text ("Hold" ),
@@ -354,7 +354,7 @@ class _CallHoldSelector extends StatelessWidget {
354354 if (call == null ) {
355355 return ;
356356 }
357- final attr = call.attributes.removeWith (CallAttributes .hold);
357+ final attr = call.attributes.removeWith (CKCallAttributes .hold);
358358 webCallkitPlugin.updateCallAttributes (callId, attributes: attr);
359359 },
360360 child: const Text ("Resume" ),
@@ -420,11 +420,11 @@ class _CallActionButtons extends StatelessWidget {
420420 }
421421}
422422
423- class _DisconnectResponses extends StatelessWidget {
423+ class _CKDisconnectResponses extends StatelessWidget {
424424 final String callId;
425425
426426 // ignore: unused_element
427- const _DisconnectResponses ({super .key, required this .callId});
427+ const _CKDisconnectResponses ({super .key, required this .callId});
428428
429429 @override
430430 Widget build (BuildContext context) {
@@ -435,7 +435,7 @@ class _DisconnectResponses extends StatelessWidget {
435435 const SizedBox (height: 8 ),
436436 Row (
437437 mainAxisAlignment: MainAxisAlignment .center,
438- children: DisconnectResponse .values.map ((e) {
438+ children: CKDisconnectResponse .values.map ((e) {
439439 return Padding (
440440 padding: const EdgeInsets .symmetric (horizontal: 4.0 ),
441441 child: ElevatedButton (
0 commit comments