SocritsCallText class

Every user-visible string on the prebuilt ring + call screens, so you can translate or reword the UI without replacing it. Override only what you need:

const SocritsCallText(
  connecting: 'Connexion…',
  incomingVideoCall: 'Appel vidéo entrant',
  accept: 'Répondre', decline: 'Refuser', end: 'Raccrocher',
)

Constructors

SocritsCallText({String connecting = 'Connecting…', String connected = 'Connected', String inCall = 'In call', String incomingVideoCall = 'Incoming video call', String incomingVoiceCall = 'Incoming voice call', String calling = 'Calling…', String speaker = 'Speaker', String flip = 'Flip', String video = 'Video', String mute = 'Mute', String mic = 'Mic', String camera = 'Camera', String end = 'End', String accept = 'Accept', String decline = 'Decline', String cancel = 'Cancel', String hangUpConfirm = 'Leave this call?', String hangUpStay = 'Stay', String hangUpLeave = 'Leave'})
const

Properties

accept → String
final
calling → String
final
camera → String
final
cancel → String
final
connected → String
Status line once connected, when the duration timer is hidden.
final
connecting → String
Status line before the other party joins.
final
decline → String
final
end → String
Action button captions.
final
flip → String
final
hangUpConfirm → String
Hang-up confirmation dialog (used when confirmHangUp is on).
final
hangUpLeave → String
final
hangUpStay → String
final
hashCode → int
The hash code for this object.
no setterinherited
inCall → String
Fallback title when no name is known.
final
incomingVideoCall → String
Ring-screen status lines.
final
incomingVoiceCall → String
final
mic → String
Ring-screen pre-connect toggle captions.
final
mute → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speaker → String
In-call control button captions.
final
video → String
final

Methods

copyWith({String? connecting, String? connected, String? inCall, String? incomingVideoCall, String? incomingVoiceCall, String? calling, String? speaker, String? flip, String? video, String? mute, String? mic, String? camera, String? end, String? accept, String? decline, String? cancel, String? hangUpConfirm, String? hangUpStay, String? hangUpLeave}) → SocritsCallText
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited