hint property
override
Returns a text-represented hint for this CallButton.
Implementation
@override
String get hint {
bool isScreen =
c.screenShareState.value == LocalTrackState.enabled ||
c.screenShareState.value == LocalTrackState.enabling;
return c.isMobile
? isScreen
? 'btn_call_screen_off_desc'.l10n
: 'btn_call_screen_on_desc'.l10n
: isScreen
? 'btn_call_screen_off'.l10n
: 'btn_call_screen_on'.l10n;
}