From 90baacd0a269d700863cadc1daa0314e6192d46c Mon Sep 17 00:00:00 2001 From: tanlongsheng <252620078@qq.com> Date: Wed, 19 Nov 2025 20:38:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E5=A4=87=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../widgets/select_equalizer_widget.dart | 56 ++++++++++--------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/lib/modules/eq_settings/views/widgets/select_equalizer_widget.dart b/lib/modules/eq_settings/views/widgets/select_equalizer_widget.dart index 12e96a718..a9cfc7431 100644 --- a/lib/modules/eq_settings/views/widgets/select_equalizer_widget.dart +++ b/lib/modules/eq_settings/views/widgets/select_equalizer_widget.dart @@ -85,37 +85,39 @@ class _SelectEqualizerWidgetState extends State { children: List.generate( _templateData['xAxis'].length, (index) => Expanded( - child: Column( + child: Stack( children: [ - Expanded( - child: RotatedBox( - quarterTurns: 3, - child: StatefulBuilder( - builder: (BuildContext context, setStateful) { - return Slider( - value: _values[index].toDouble(), - min: -5, - max: 5, - divisions: 10, - activeColor: Colors.green, - onChanged: (value) { - setStateful(() { - _values[index] = value.toInt(); - }); - }, - onChangeEnd: (value) { - setState(() {}); - }, - ); - }, - ), + RotatedBox( + quarterTurns: 3, + child: StatefulBuilder( + builder: (BuildContext context, setStateful) { + return Slider( + value: _values[index].toDouble(), + min: -5, + max: 5, + divisions: 10, + activeColor: Colors.green, + onChanged: (value) { + setStateful(() { + _values[index] = value.toInt(); + }); + }, + onChangeEnd: (value) { + setState(() {}); + }, + ); + }, ), ), - Text( - _templateData['xAxis'][index], - style: TextStyle( + Align( + alignment: Alignment.bottomCenter, + child: Text( + _templateData['xAxis'][index], + style: TextStyle( fontSize: 14.sp, - color: isDarkMode ? Colors.white : Colors.grey), + color: isDarkMode ? Colors.white : Colors.grey, + ), + ), ), ], ),