statusLabelColor method
- BuildContext context
Implementation
Color statusLabelColor(BuildContext context) {
switch (this) {
case VideoCallStatus.scheduled:
return Theme.of(context).colorScheme.onSurface;
case VideoCallStatus.cancelled:
return Theme.of(context).colorScheme.onSurface;
case VideoCallStatus.finished:
return Theme.of(context).colorScheme.onSurfaceVariant;
}
}