CallScreen constructor

const CallScreen({
  1. Key? key,
  2. required Color bgColor,
  3. required PitelCallStateEnum callState,
  4. required dynamic onCallState(
    1. PitelCallStateEnum
    ),
  5. String? txtMute,
  6. String? txtUnMute,
  7. String? txtSpeaker,
  8. String? txtOutgoing,
  9. String? txtIncoming,
  10. TextStyle? textStyle,
  11. TextStyle? titleTextStyle,
  12. TextStyle? timerTextStyle,
  13. TextStyle? directionTextStyle,
  14. String? txtTimer,
  15. String? txtWaiting,
})

Implementation

const CallScreen({
  Key? key,
  required this.bgColor,
  required this.callState,
  required this.onCallState,
  this.txtMute,
  this.txtUnMute,
  this.txtSpeaker,
  this.txtOutgoing,
  this.txtIncoming,
  this.textStyle,
  this.titleTextStyle,
  this.timerTextStyle,
  this.directionTextStyle,
  this.txtTimer,
  this.txtWaiting,
}) : super(key: key);