buildMuteAllVideoActions method

Widget buildMuteAllVideoActions()

创建"全体视频关闭/打开widget"

Implementation

Widget buildMuteAllVideoActions() {
  return Visibility(
    visible: !arguments.options.noMuteAllVideo,
    child: Container(
      height: 49,
      color: UIColors.colorF7F9FBF0,
      child: Row(
        children: <Widget>[
          Expanded(
              child: TextButton(
            child: Text(Strings.muteAllVideo),
            onPressed: _onMuteAllVideo,
            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.unmuteAllVideo),
            onPressed: unMuteAllVideo2Server,
            style: ButtonStyle(
                textStyle: MaterialStateProperty.all(TextStyle(fontSize: 16)),
                foregroundColor:
                    MaterialStateProperty.all(UIColors.blue_337eff)),
          )),
        ],
      ),
    ),
  );
}