diff options
author | Joel Winarske <joel.winarske@gmail.com> | 2024-09-05 14:01:44 -0700 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-09-09 15:37:22 +0000 |
commit | 0c24d7f6ebdb688d3aee492b5f84aa21e141f7e7 (patch) | |
tree | ae7dd19be2f0b482d8c58236822d7992888b0e71 /lib/presentation/screens/media | |
parent | cbc46db4690b89d2d5e983821d269931a358e508 (diff) |
Flutter SDK 3.24.1ricefish_18.0.1ricefish/18.0.118.0.1
-add flutter_calendar_carousel as local package, and update intl version
-address most of the analyze issues; not including flutter_calendar_carousel
-update all packages
Change-Id: I5db9234726e8e2f8d07e1431e8dac2787c521c08
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Joel Winarske <joel.winarske@toyotaconnected.com>
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
(cherry picked from commit d3ea8d7fa4518c258fca3c825ee895487fcaa8ec)
Diffstat (limited to 'lib/presentation/screens/media')
6 files changed, 8 insertions, 9 deletions
diff --git a/lib/presentation/screens/media/media_player.dart b/lib/presentation/screens/media/media_player.dart index 0dab346..ff7ba70 100644 --- a/lib/presentation/screens/media/media_player.dart +++ b/lib/presentation/screens/media/media_player.dart @@ -57,7 +57,7 @@ class _MediaPlayerState extends ConsumerState<MediaPlayer> { const SizedBox( height: 40, ), - Column( + const Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ MediaPlayerControls(), diff --git a/lib/presentation/screens/media/media_player_controls.dart b/lib/presentation/screens/media/media_player_controls.dart index f23bcc9..478c23a 100644 --- a/lib/presentation/screens/media/media_player_controls.dart +++ b/lib/presentation/screens/media/media_player_controls.dart @@ -184,7 +184,7 @@ class MediaPlayerControlsSliderState songLength = currentSong.duration; } - return Container( + return SizedBox( height: 80, child: SliderTheme( data: SliderThemeData( diff --git a/lib/presentation/screens/media/play_list_table.dart b/lib/presentation/screens/media/play_list_table.dart index 28cb970..1159f68 100644 --- a/lib/presentation/screens/media/play_list_table.dart +++ b/lib/presentation/screens/media/play_list_table.dart @@ -3,7 +3,7 @@ import 'package:flutter_ics_homescreen/core/utils/helpers.dart'; import 'package:flutter_ics_homescreen/export.dart'; class PlayListTable extends ConsumerStatefulWidget { - PlayListTable({super.key}); + const PlayListTable({super.key}); @override ConsumerState<PlayListTable> createState() => _PlayListTableState(); @@ -182,7 +182,7 @@ class _PlayListTableState extends ConsumerState<PlayListTable> { ); }, separatorBuilder: (_, __) { - return SizedBox(height: 8); + return const SizedBox(height: 8); }, ), ]))))), diff --git a/lib/presentation/screens/media/radio_player_controls.dart b/lib/presentation/screens/media/radio_player_controls.dart index acc8291..d20724e 100644 --- a/lib/presentation/screens/media/radio_player_controls.dart +++ b/lib/presentation/screens/media/radio_player_controls.dart @@ -204,7 +204,7 @@ class RadioPlayerControlsSliderState ref.watch(radioStateProvider.select((radio) => radio.freqCurrent)) / 1000000.0; - return Container( + return SizedBox( height: 80, child: SliderTheme( data: SliderThemeData( diff --git a/lib/presentation/screens/media/radio_preset_table.dart b/lib/presentation/screens/media/radio_preset_table.dart index fcf8e2b..21f9f4a 100644 --- a/lib/presentation/screens/media/radio_preset_table.dart +++ b/lib/presentation/screens/media/radio_preset_table.dart @@ -177,7 +177,7 @@ class _RadioPresetTableState extends ConsumerState<RadioPresetTable> { ); }, separatorBuilder: (_, __) { - return SizedBox(height: 8); + return const SizedBox(height: 8); }, ), ])), diff --git a/lib/presentation/screens/media/widgets/gradient_progress_indicator.dart b/lib/presentation/screens/media/widgets/gradient_progress_indicator.dart index 24aa244..ec09ba2 100644 --- a/lib/presentation/screens/media/widgets/gradient_progress_indicator.dart +++ b/lib/presentation/screens/media/widgets/gradient_progress_indicator.dart @@ -13,10 +13,9 @@ class GradientProgressIndicator extends StatelessWidget { {required this.percent, required this.gradient, required this.backgroundColor, - Key? key, + super.key, this.height = 16, - required this.type}) - : super(key: key); + required this.type}); @override Widget build(BuildContext context) { |