buildMuteAllAudioActions method

Widget buildMuteAllAudioActions()

管理会议成员弹窗下的 全体静音相关操作ui

Implementation

Widget buildMuteAllAudioActions() {
  return Visibility(
    visible: !arguments.options.noMuteAllAudio,
    child: Container(
      height: 49,
      color: UIColors.colorF7F9FBF0,
      child: Row(
        children: <Widget>[
          Expanded(
              child: TextButton(
            child: Text(Strings.muteAudioAll),
            onPressed: _onMuteAllAudio,
            style: ButtonStyle(
                textStyle: MaterialStateProperty.all(TextStyle(fontSize: 16)),
                foregroundColor:
                    MaterialStateProperty.all(UIColors.blue_337eff)),
          )),
          Center(
            child:
                Container(height: 24, width: 1, color: UIColors.colorE9E9E9),
          ),
          Expanded(
              child: TextButton(
            child: Text(Strings.unMuteAudioAll),
            onPressed: unMuteAllAudio2Server,
            style: ButtonStyle(
                textStyle: MaterialStateProperty.all(TextStyle(fontSize: 16)),
                foregroundColor:
                    MaterialStateProperty.all(UIColors.blue_337eff)),
          )),
        ],
      ),
    ),
  );
}