summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/media_player/widgets
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-16 22:44:34 -0300
committerLisandro Perez Meyer <lpmeyer@ics.com>2023-11-17 01:48:26 +0000
commit4d77bab5a0f698943d1abf74482eecef7cc95f08 (patch)
tree49e0a590b5903cc7553b1a4fc3cb2fbcd13cebf4 /lib/presentation/screens/media_player/widgets
parent6a00ac1f8613048b5c1f7ecdbd1adcbbcfdca5ed (diff)
Bug fixes. Fixed Fan mode selection off state bug.
Fixes ICS' internal AGL-48,49,50. Original from Sabin Sajeevan <ssajeevan@ics.com> Bug-AGL: SPEC-4971 Change-Id: I66c875551a69a1b53eee2d6e1d3fa725b20ff41b Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/presentation/screens/media_player/widgets')
-rw-r--r--lib/presentation/screens/media_player/widgets/media_volume_bar.dart80
1 files changed, 58 insertions, 22 deletions
diff --git a/lib/presentation/screens/media_player/widgets/media_volume_bar.dart b/lib/presentation/screens/media_player/widgets/media_volume_bar.dart
index f8d58e6..2b063b4 100644
--- a/lib/presentation/screens/media_player/widgets/media_volume_bar.dart
+++ b/lib/presentation/screens/media_player/widgets/media_volume_bar.dart
@@ -53,21 +53,39 @@ class CustomVolumeSliderState extends ConsumerState<CustomVolumeSlider> {
child: Row(
children: [
Padding(
- padding: const EdgeInsets.only(left: 10.0),
- child: SizedBox(
- width: 50,
- child: IconButton(
- padding: EdgeInsets.zero,
- onPressed: () {
+ padding: const EdgeInsets.only(left: 20),
+ child: Material(
+ color: Colors.transparent,
+ child: InkWell(
+ customBorder: const CircleBorder(),
+ onTap: () {
_dercrease();
},
- icon: const Icon(
- CustomIcons.vol_min,
- color: AGLDemoColors.periwinkleColor,
- size: 48,
- )),
+ child: const Padding(
+ padding: EdgeInsets.all(8.0),
+ child: Icon(
+ CustomIcons.vol_min,
+ color: AGLDemoColors.periwinkleColor,
+ size: 60,
+ ))),
),
),
+ // Padding(
+ // padding: const EdgeInsets.only(left: 10.0),
+ // child: SizedBox(
+ // width: 50,
+ // child: IconButton(
+ // padding: EdgeInsets.zero,
+ // onPressed: () {
+ // _dercrease();
+ // },
+ // icon: const Icon(
+ // CustomIcons.vol_min,
+ // color: AGLDemoColors.periwinkleColor,
+ // size: 48,
+ // )),
+ // ),
+ // ),
Expanded(
child: SliderTheme(
data: SliderThemeData(
@@ -93,21 +111,39 @@ class CustomVolumeSliderState extends ConsumerState<CustomVolumeSlider> {
),
),
Padding(
- padding: const EdgeInsets.only(right: 10.0),
- child: SizedBox(
- width: 60,
- child: IconButton(
- padding: EdgeInsets.zero,
- onPressed: () {
+ padding: const EdgeInsets.only(right: 20),
+ child: Material(
+ color: Colors.transparent,
+ child: InkWell(
+ customBorder: const CircleBorder(),
+ onTap: () {
_increase();
},
- icon: const Icon(
- CustomIcons.vol_max,
- color: AGLDemoColors.periwinkleColor,
- size: 48,
- )),
+ child: const Padding(
+ padding: EdgeInsets.all(8.0),
+ child: Icon(
+ CustomIcons.vol_max,
+ color: AGLDemoColors.periwinkleColor,
+ size: 60,
+ ))),
),
),
+ // Padding(
+ // padding: const EdgeInsets.only(right: 10.0),
+ // child: SizedBox(
+ // width: 60,
+ // child: IconButton(
+ // padding: EdgeInsets.zero,
+ // onPressed: () {
+ // _increase();
+ // },
+ // icon: const Icon(
+ // CustomIcons.vol_max,
+ // color: AGLDemoColors.periwinkleColor,
+ // size: 48,
+ // )),
+ // ),
+ // ),
],
),
),