getAppBarText method
Implementation
Text getAppBarText(ZugClient client, {String? text, Color textColor = Colors.black}) {
return Text(text ?? "${client.user}: ${client.currentArea.exists ? client.currentArea.title : "-"}",
style: TextStyle(color: textColor));
}