点击区域优化1

This commit is contained in:
fuenmao 2025-01-07 11:45:00 +08:00
parent 87bea363b6
commit 9161c33741
1 changed files with 28 additions and 24 deletions

View File

@ -898,7 +898,6 @@ class MeetingMainPageState extends State<MeetingMainPage> {
color: ColorUtil.Color_57_57_57_08,
child: Container(
width: double.infinity,
padding: const EdgeInsets.only(top: 16, bottom: 16),
margin: const EdgeInsets.only(left: 40, right: 40),
decoration: BoxDecoration(
borderRadius: const BorderRadius.all(Radius.circular(6)),
@ -928,8 +927,8 @@ class MeetingMainPageState extends State<MeetingMainPage> {
List<Widget> audioList() {
List<Widget> audioList = [];
audioList.add(GestureDetector(
child: Column(children: [
Text(
child: Container(
child: Text(
'听筒',
style: TextStyle(
fontSize: 14.sp,
@ -940,22 +939,24 @@ class MeetingMainPageState extends State<MeetingMainPage> {
? ColorUtil.Color_85_117_242
: ColorUtil.Color_134_134_134),
),
Container(
color: ColorUtil.Color_0_0_0_0,
width: double.infinity,
height: 1.h,
color: ColorUtil.Color_49_47_47,
margin: const EdgeInsets.only(top: 14, bottom: 14),
)
]),
height: 46.h,
alignment: Alignment.center,
),
onTap: () {
logic.setEnableSpeakerphone(1);
logic.changeMeetingAudioState(false);
},
));
audioList.add(Container(
width: double.infinity,
height: 1.h,
color: ColorUtil.Color_49_47_47,
));
audioList.add(GestureDetector(
child: Column(
children: [
Text(
child: Container(
child: Text(
'扬声器',
style: TextStyle(
fontSize: 14.sp,
@ -966,7 +967,10 @@ class MeetingMainPageState extends State<MeetingMainPage> {
? ColorUtil.Color_85_117_242
: ColorUtil.Color_134_134_134),
),
],
color: ColorUtil.Color_0_0_0_0,
width: double.infinity,
height: 46.h,
alignment: Alignment.center,
),
onTap: () {
logic.setEnableSpeakerphone(3);