我在 Flutter 中使用 "jitsi meet"。我想摆脱通话屏幕上的菜单选项卡

I am using "jitsi meet" in Flutter. I want to get rid of the menu tabs on the call screen

我想隐藏这个 part.Please 告诉我该怎么做。 我在图片下方添加了“featureFlags”的代码,并且 我在图片下方写了“var options = JitsiMeetingOptions(room: url)”的代码。

我的代码

Future<void> joinMeeting(String url, WidgetRef ref, String docid) async {
  Map<FeatureFlagEnum, bool> featureFlags = {
    FeatureFlagEnum.WELCOME_PAGE_ENABLED: false,
    FeatureFlagEnum.ADD_PEOPLE_ENABLED: false,
    FeatureFlagEnum.CALENDAR_ENABLED: false,
    FeatureFlagEnum.CALL_INTEGRATION_ENABLED: false,
    FeatureFlagEnum.CHAT_ENABLED: false,
    FeatureFlagEnum.INVITE_ENABLED: false,
    FeatureFlagEnum.LIVE_STREAMING_ENABLED: false,
    FeatureFlagEnum.MEETING_NAME_ENABLED: true,
    FeatureFlagEnum.MEETING_PASSWORD_ENABLED: true,
    FeatureFlagEnum.TOOLBOX_ALWAYS_VISIBLE: false,
  };

  var options = JitsiMeetingOptions(room: url)
    ..featureFlags.addAll(featureFlags);

同样的问题我修改了这个flutter插件。 在 pubspec.yaml、

jitsi_meet:
git:
  url: https://github.com/Techuick/jitsi_meet.git
  ref: jitsimeet_v1
  path: jitsi_meet/

要隐藏溢出菜单按钮,您可以在 JitsiMeetingOptions 中使用“overflowMenuEnabled”参数。像这样:

var options = JitsiMeetingOptions(room: roomText.text)
  ..serverURL = serverUrl
  ..subject = subjectText.text
  ..userDisplayName = nameText.text
  ..userEmail = emailText.text
  ..iosAppBarRGBAColor = iosAppBarRGBAColor.text
  ..audioOnly = isAudioOnly
  ..audioMuted = isAudioMuted
  ..videoMuted = isVideoMuted
  ..overflowMenuEnabled = isOverflowMenuHidden;