diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index af17e868b..5168ea3df 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,7 +5,7 @@ on: branches: [main] env: - FLUTTER_VERSION: '3.24.5' + FLUTTER_VERSION: '3.27.1' jobs: analyze: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41028998c..38b6b0c82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: env: - FLUTTER_VERSION: '3.24.5' + FLUTTER_VERSION: '3.27.1' jobs: release_with_macos_dmg: diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 4934ddfe5..517c21a93 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: env: - FLUTTER_VERSION: '3.24.5' + FLUTTER_VERSION: '3.27.1' jobs: build_and_release_linux_snap_edge_amd64: diff --git a/lib/common/view/audio_card.dart b/lib/common/view/audio_card.dart index b5460ccce..8678074cf 100644 --- a/lib/common/view/audio_card.dart +++ b/lib/common/view/audio_card.dart @@ -130,7 +130,7 @@ class _AudioCard extends StatelessWidget { onTap: onTap, onHover: onHover, borderRadius: BorderRadius.circular(12), - hoverColor: theme.colorScheme.onSurface.withOpacity(0.1), + hoverColor: theme.colorScheme.onSurface.withValues(alpha: 0.1), child: Container( margin: const EdgeInsets.all(4), decoration: BoxDecoration( @@ -140,8 +140,8 @@ class _AudioCard extends StatelessWidget { ? Border.all( width: 1, color: light - ? theme.colorScheme.onSurface.withOpacity(0.05) - : Colors.white.withOpacity(0.005), + ? theme.colorScheme.onSurface.withValues(alpha: 0.05) + : Colors.white.withValues(alpha: 0.005), ) : null, ), diff --git a/lib/common/view/audio_card_bottom.dart b/lib/common/view/audio_card_bottom.dart index 86d84d7fe..1cc7b16bc 100644 --- a/lib/common/view/audio_card_bottom.dart +++ b/lib/common/view/audio_card_bottom.dart @@ -55,7 +55,8 @@ class AudioCardBottom extends StatelessWidget { text ?? '', style: style ?? theme.textTheme.bodyMedium?.copyWith( - color: theme.colorScheme.onSurface.withOpacity(0.9), + color: + theme.colorScheme.onSurface.withValues(alpha: 0.9), ), textAlign: TextAlign.center, overflow: TextOverflow.ellipsis, diff --git a/lib/common/view/audio_fall_back_icon.dart b/lib/common/view/audio_fall_back_icon.dart index c75835cee..3c3f641c9 100644 --- a/lib/common/view/audio_fall_back_icon.dart +++ b/lib/common/view/audio_fall_back_icon.dart @@ -50,7 +50,7 @@ class AudioFallBackIcon extends StatelessWidget { child: Icon( audio?.audioType?.iconData ?? Iconz.musicNote, size: iconSize, - color: contrastColor(gradientColor).withOpacity(0.7), + color: contrastColor(gradientColor).withValues(alpha: 0.7), ), ); } diff --git a/lib/common/view/audio_page_header.dart b/lib/common/view/audio_page_header.dart index 1794d574a..fa2ace55e 100644 --- a/lib/common/view/audio_page_header.dart +++ b/lib/common/view/audio_page_header.dart @@ -51,7 +51,7 @@ class AudioPageHeader extends StatelessWidget { offset: const Offset(0, 0), spreadRadius: 0.8, blurRadius: 0, - color: theme.shadowColor.withOpacity(0.1), + color: theme.shadowColor.withValues(alpha: 0.1), ), ], ), diff --git a/lib/common/view/audio_tile.dart b/lib/common/view/audio_tile.dart index 9a8c53880..8ccedf27f 100644 --- a/lib/common/view/audio_tile.dart +++ b/lib/common/view/audio_tile.dart @@ -92,7 +92,7 @@ class _AudioTileState extends State { selected: widget.selected, selectedColor: widget.isPlayerPlaying ? selectedColor : theme.colorScheme.onSurface, - selectedTileColor: theme.colorScheme.onSurface.withOpacity(0.05), + selectedTileColor: theme.colorScheme.onSurface.withValues(alpha: 0.05), contentPadding: audioTilePadding.copyWith( left: widget.audioPageType == AudioPageType.album ? 10 : null, ), diff --git a/lib/common/view/audio_tile_bottom_sheet.dart b/lib/common/view/audio_tile_bottom_sheet.dart index 5fefd4ba9..cae15bd83 100644 --- a/lib/common/view/audio_tile_bottom_sheet.dart +++ b/lib/common/view/audio_tile_bottom_sheet.dart @@ -287,7 +287,7 @@ class _Button extends StatelessWidget { color: context.colorScheme.onSurface, style: IconButton.styleFrom( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(6)), - backgroundColor: context.colorScheme.onSurface.withOpacity(0.1), + backgroundColor: context.colorScheme.onSurface.withValues(alpha: 0.1), ), onPressed: onPressed, icon: icon, diff --git a/lib/common/view/copy_clipboard_content.dart b/lib/common/view/copy_clipboard_content.dart index 668d40414..fd11f7df6 100644 --- a/lib/common/view/copy_clipboard_content.dart +++ b/lib/common/view/copy_clipboard_content.dart @@ -33,7 +33,7 @@ class _CopyClipboardContentState extends State { Widget build(BuildContext context) { final theme = context.theme; final textColor = - theme.snackBarTheme.contentTextStyle?.color?.withOpacity(0.8); + theme.snackBarTheme.contentTextStyle?.color?.withValues(alpha: 0.8); return Padding( padding: const EdgeInsets.symmetric(horizontal: 10), child: Row( diff --git a/lib/common/view/fall_back_header_image.dart b/lib/common/view/fall_back_header_image.dart index 44040a79e..4013bc643 100644 --- a/lib/common/view/fall_back_header_image.dart +++ b/lib/common/view/fall_back_header_image.dart @@ -23,8 +23,8 @@ class FallBackHeaderImage extends StatelessWidget { begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [ - baseColor.scale(lightness: 0.1).withOpacity(0.4), - baseColor.scale(lightness: 0.6).withOpacity(0.4), + baseColor.scale(lightness: 0.1).withValues(alpha: 0.4), + baseColor.scale(lightness: 0.6).withValues(alpha: 0.4), ], ), ), diff --git a/lib/common/view/progress.dart b/lib/common/view/progress.dart index efa08d23b..6fe8741c0 100644 --- a/lib/common/view/progress.dart +++ b/lib/common/view/progress.dart @@ -61,7 +61,7 @@ class Progress extends StatelessWidget { backgroundColor: value == null ? null : (backgroundColor ?? - context.theme.colorScheme.primary.withOpacity(0.3)), + context.theme.colorScheme.primary.withValues(alpha: 0.3)), ), ); } diff --git a/lib/common/view/round_image_container.dart b/lib/common/view/round_image_container.dart index e6b2aba48..4cddb5ec6 100644 --- a/lib/common/view/round_image_container.dart +++ b/lib/common/view/round_image_container.dart @@ -22,7 +22,7 @@ class RoundImageContainer extends StatelessWidget { offset: const Offset(0, 0), spreadRadius: 1, blurRadius: 1, - color: theme.shadowColor.withOpacity(0.4), + color: theme.shadowColor.withValues(alpha: 0.4), ); if (images.length == 1) { @@ -86,7 +86,7 @@ class ArtistVignette extends StatelessWidget { boxShadow: [ BoxShadow( offset: const Offset(0, 1), - color: Colors.black.withOpacity(0.3), + color: Colors.black.withValues(alpha: 0.3), blurRadius: 3, spreadRadius: 0.1, ), diff --git a/lib/common/view/side_bar_fall_back_image.dart b/lib/common/view/side_bar_fall_back_image.dart index 355e89ac0..7a918590a 100644 --- a/lib/common/view/side_bar_fall_back_image.dart +++ b/lib/common/view/side_bar_fall_back_image.dart @@ -27,8 +27,8 @@ class SideBarFallBackImage extends StatelessWidget { begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [ - baseColor.scale(lightness: 0.1).withOpacity(0.4), - baseColor.scale(lightness: 0.6).withOpacity(0.4), + baseColor.scale(lightness: 0.1).withValues(alpha: 0.4), + baseColor.scale(lightness: 0.6).withValues(alpha: 0.4), ], ), ), diff --git a/lib/common/view/tapable_text.dart b/lib/common/view/tapable_text.dart index 4e6b9bd10..35e8a0709 100644 --- a/lib/common/view/tapable_text.dart +++ b/lib/common/view/tapable_text.dart @@ -25,7 +25,8 @@ class TapAbleText extends StatelessWidget { final theme = context.theme; final inkWell = InkWell( - hoverColor: (style?.color ?? theme.colorScheme.primary).withOpacity(0.3), + hoverColor: + (style?.color ?? theme.colorScheme.primary).withValues(alpha: 0.3), borderRadius: BorderRadius.circular(4), onTap: onTap == null ? null : () => onTap!(), child: Text( diff --git a/lib/common/view/theme.dart b/lib/common/view/theme.dart index 25ebf7164..51209c40c 100644 --- a/lib/common/view/theme.dart +++ b/lib/common/view/theme.dart @@ -52,7 +52,7 @@ IconButtonThemeData iconButtonTheme(ThemeData? data) { ), backgroundColor: WidgetStateProperty.resolveWith( (s) => s.contains(WidgetState.selected) - ? data.colorScheme.onSurface.withOpacity(0.1) + ? data.colorScheme.onSurface.withValues(alpha: 0.1) : Colors.transparent, ), ), @@ -64,7 +64,7 @@ const yaruFixDarkDividerColor = Color.fromARGB(19, 255, 255, 255); Color getPlayerBg(Color? surfaceTintColor, Color fallbackColor) { if (surfaceTintColor != null) { return Color.alphaBlend( - surfaceTintColor.withOpacity(0.15), + surfaceTintColor.withValues(alpha: 0.15), fallbackColor, ); } else { diff --git a/lib/extensions/theme_data_x.dart b/lib/extensions/theme_data_x.dart index 9b021d218..9757c409e 100644 --- a/lib/extensions/theme_data_x.dart +++ b/lib/extensions/theme_data_x.dart @@ -13,7 +13,7 @@ extension ThemeDataX on ThemeData { letterSpacing: 0, leadingDistribution: TextLeadingDistribution.proportional, fontSize: 25, - color: colorScheme.onSurface.withOpacity(0.9), + color: colorScheme.onSurface.withValues(alpha: 0.9), ); TextStyle? get pageHeaderDescription => diff --git a/lib/library/library_model.dart b/lib/library/library_model.dart index a8990c36d..07c71e44f 100644 --- a/lib/library/library_model.dart +++ b/lib/library/library_model.dart @@ -282,6 +282,11 @@ class LibraryModel extends SafeChangeNotifier implements NavigatorObserver { printMessageInDebugMode('didStopUserGesture'); } + @override + void didChangeTop(Route topRoute, Route? previousTopRoute) { + printMessageInDebugMode('didChangeTop'); + } + // Note: Navigator.initState ensures assert(observer.navigator == null); // Afterwards the Navigator itself!!! sets the navigator of its observers... @override diff --git a/lib/local_audio/view/playlists_view.dart b/lib/local_audio/view/playlists_view.dart index 2f633ef93..feb60df41 100644 --- a/lib/local_audio/view/playlists_view.dart +++ b/lib/local_audio/view/playlists_view.dart @@ -71,8 +71,8 @@ class PlaylistsView extends StatelessWidget { : id == kLikedAudiosPageId ? Container( decoration: BoxDecoration( - color: - context.colorScheme.primary.withOpacity(0.3), + color: context.colorScheme.primary + .withValues(alpha: 0.3), shape: BoxShape.circle, ), child: Icon(Iconz.heart), diff --git a/lib/player/player_service.dart b/lib/player/player_service.dart index d184adcca..41a9bb5c9 100644 --- a/lib/player/player_service.dart +++ b/lib/player/player_service.dart @@ -518,7 +518,9 @@ class PlayerService { Future safeLastPosition() async { if (_audio?.audioType == AudioType.radio || _audio?.url == null || - _position == null) return; + _position == null) { + return; + } await addLastPosition(_audio!.url!, _position!); } diff --git a/lib/player/view/full_height_video_player.dart b/lib/player/view/full_height_video_player.dart index 20c85c55f..2921d181c 100644 --- a/lib/player/view/full_height_video_player.dart +++ b/lib/player/view/full_height_video_player.dart @@ -37,9 +37,9 @@ class FullHeightVideoPlayer extends StatelessWidget with WatchItMixin { : '${audio?.title == null ? '' : '${audio!.title}'} - ${audio?.album == null ? '' : '${audio!.album}'} - ${audio?.artist == null ? '' : '${audio!.artist}'}'; final mediaKitTheme = MaterialVideoControlsThemeData( seekBarThumbColor: baseColor, - seekBarColor: baseColor.withOpacity(0.3), - seekBarPositionColor: baseColor.withOpacity(0.9), - seekBarBufferColor: baseColor.withOpacity(0.6), + seekBarColor: baseColor.withValues(alpha: 0.3), + seekBarPositionColor: baseColor.withValues(alpha: 0.9), + seekBarBufferColor: baseColor.withValues(alpha: 0.6), buttonBarButtonColor: baseColor, controlsHoverDuration: const Duration(seconds: 10), seekGesture: true, @@ -50,7 +50,7 @@ class FullHeightVideoPlayer extends StatelessWidget with WatchItMixin { child: PlayerMainControls( active: active, iconColor: baseColor, - avatarColor: baseColor.withOpacity(0.1), + avatarColor: baseColor.withValues(alpha: 0.1), ), ), ], diff --git a/lib/player/view/player_title_and_artist.dart b/lib/player/view/player_title_and_artist.dart index 128ab9ad8..dd1c00100 100644 --- a/lib/player/view/player_title_and_artist.dart +++ b/lib/player/view/player_title_and_artist.dart @@ -307,7 +307,9 @@ class PlayerTitleAndArtist extends StatelessWidget with WatchItMixin { }) { if (audio.url == null || audio.uuid == null || - libraryModel.selectedPageId == audio.uuid) return; + libraryModel.selectedPageId == audio.uuid) { + return; + } libraryModel.push( builder: (_) => StationPage(station: audio), pageId: audio.uuid!, diff --git a/lib/player/view/player_track.dart b/lib/player/view/player_track.dart index 578fc8efc..03c671103 100644 --- a/lib/player/view/player_track.dart +++ b/lib/player/view/player_track.dart @@ -73,8 +73,8 @@ class PlayerTrack extends StatelessWidget with WatchItMixin { trackHeight: yaruStyled && !bottomPlayer ? 5.0 : (isMobilePlatform ? 2.0 : 4.0), - color: mainColor.withOpacity(0.8), - backgroundColor: mainColor.withOpacity(0.4), + color: mainColor.withValues(alpha: 0.8), + backgroundColor: mainColor.withValues(alpha: 0.4), ), ) : Padding( @@ -92,10 +92,10 @@ class PlayerTrack extends StatelessWidget with WatchItMixin { trackShape: trackShape as SliderTrackShape, trackHeight: bottomPlayer ? (isMobilePlatform ? 2.0 : 4.0) : 4.0, - inactiveTrackColor: mainColor.withOpacity(0.2), - activeTrackColor: mainColor.withOpacity(0.85), + inactiveTrackColor: mainColor.withValues(alpha: 0.2), + activeTrackColor: mainColor.withValues(alpha: 0.85), overlayColor: mainColor, - secondaryActiveTrackColor: mainColor.withOpacity(0.25), + secondaryActiveTrackColor: mainColor.withValues(alpha: 0.25), ), child: RepaintBoundary( child: Slider( diff --git a/lib/player/view/queue/queue_body.dart b/lib/player/view/queue/queue_body.dart index b00932f43..9e47898a4 100644 --- a/lib/player/view/queue/queue_body.dart +++ b/lib/player/view/queue/queue_body.dart @@ -74,7 +74,7 @@ class _QueueBodyState extends State { ), buildDefaultDragHandles: false, proxyDecorator: (child, index, animation) => Material( - color: context.colorScheme.onSurface.withOpacity(0.1), + color: context.colorScheme.onSurface.withValues(alpha: 0.1), borderRadius: BorderRadius.circular(6), child: child, ), @@ -154,7 +154,7 @@ class _QueueTileState extends State<_QueueTile> { audios: widget.queue, index: widget.queue.indexOf(widget.audio), ), - hoverColor: context.colorScheme.onSurface.withOpacity(0.3), + hoverColor: context.colorScheme.onSurface.withValues(alpha: 0.3), leading: Visibility( visible: widget.selected, child: const Text('>'), diff --git a/lib/podcasts/podcast_service.dart b/lib/podcasts/podcast_service.dart index 2450c64bf..7683ab72c 100644 --- a/lib/podcasts/podcast_service.dart +++ b/lib/podcasts/podcast_service.dart @@ -113,7 +113,9 @@ class PodcastService { ).then((audios) { if (firstOld.year != null && audios.firstOrNull?.year == firstOld.year || - audios.isEmpty) return; + audios.isEmpty) { + return; + } _libraryService.updatePodcast(old.key, audios); if (updateMessage != null) { diff --git a/lib/podcasts/view/podcast_tile_play_button.dart b/lib/podcasts/view/podcast_tile_play_button.dart index 3047a3a06..734309b75 100644 --- a/lib/podcasts/view/podcast_tile_play_button.dart +++ b/lib/podcasts/view/podcast_tile_play_button.dart @@ -43,8 +43,8 @@ class PodcastTilePlayButton extends StatelessWidget { CircleAvatar( radius: smallAvatarButtonRadius, backgroundColor: selected - ? theme.colorScheme.primary.withOpacity(0.08) - : theme.colorScheme.onSurface.withOpacity(0.09), + ? theme.colorScheme.primary.withValues(alpha: 0.08) + : theme.colorScheme.onSurface.withValues(alpha: 0.09), child: SizedBox.square( dimension: smallAvatarButtonRadius * 2, child: IconButton( diff --git a/lib/podcasts/view/podcast_tile_progress.dart b/lib/podcasts/view/podcast_tile_progress.dart index adc714eea..c8cac5f73 100644 --- a/lib/podcasts/view/podcast_tile_progress.dart +++ b/lib/podcasts/view/podcast_tile_progress.dart @@ -38,8 +38,8 @@ class PodcastTileProgress extends StatelessWidget with WatchItMixin { child: Progress( padding: EdgeInsets.zero, color: selected - ? theme.colorScheme.primary.withOpacity(0.9) - : theme.colorScheme.primary.withOpacity(0.4), + ? theme.colorScheme.primary.withValues(alpha: 0.9) + : theme.colorScheme.primary.withValues(alpha: 0.4), value: sliderActive ? (pos.inSeconds.toDouble() / dur.inSeconds.toDouble()) : 0, diff --git a/lib/settings/view/theme_tile.dart b/lib/settings/view/theme_tile.dart index 89759cd4a..d410e68f4 100644 --- a/lib/settings/view/theme_tile.dart +++ b/lib/settings/view/theme_tile.dart @@ -29,8 +29,8 @@ class ThemeTile extends StatelessWidget { height: kLargestSpace, decoration: BoxDecoration( color: themeMode == ThemeMode.dark - ? Colors.white.withOpacity(0.05) - : Colors.black.withOpacity(0.1), + ? Colors.white.withValues(alpha: 0.05) + : Colors.black.withValues(alpha: 0.1), borderRadius: const BorderRadius.only( topRight: Radius.circular(10), topLeft: Radius.circular(10), diff --git a/pubspec.lock b/pubspec.lock index c720c6fbb..90703321d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,23 +5,23 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834 + sha256: "88399e291da5f7e889359681a8f64b18c5123e03576b01f32a6a276611e511c3" url: "https://pub.dev" source: hosted - version: "72.0.0" + version: "78.0.0" _macros: dependency: transitive description: dart source: sdk - version: "0.3.2" + version: "0.3.3" analyzer: dependency: transitive description: name: analyzer - sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139 + sha256: "62899ef43d0b962b056ed2ebac6b47ec76ffd003d5f7c4e4dc870afe63188e33" url: "https://pub.dev" source: hosted - version: "6.7.0" + version: "7.1.0" animated_emoji: dependency: "direct main" description: @@ -66,10 +66,10 @@ packages: dependency: transitive description: name: assorted_layout_widgets - sha256: "5b7f7c76a1a4c7cf95edfb854c3ed09ce9cb7f25a372f2d9a8d4c1569d42ecfb" + sha256: fe35ef80d0fb304bec8d0f600bea57d60443718748add32124e350739477614f url: "https://pub.dev" source: hosted - version: "9.0.2" + version: "10.0.4" async: dependency: transitive description: @@ -155,10 +155,10 @@ packages: dependency: transitive description: name: build - sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" + sha256: cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0 url: "https://pub.dev" source: hosted - version: "2.4.1" + version: "2.4.2" build_cli_annotations: dependency: transitive description: @@ -171,42 +171,42 @@ packages: dependency: transitive description: name: build_config - sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 + sha256: "4ae2de3e1e67ea270081eaee972e1bd8f027d459f249e0f1186730784c2e7e33" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" build_daemon: dependency: transitive description: name: build_daemon - sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" + sha256: "294a2edaf4814a378725bfe6358210196f5ea37af89ecd81bfa32960113d4948" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.0.3" build_resolvers: dependency: transitive description: name: build_resolvers - sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" + sha256: "99d3980049739a985cf9b21f30881f46db3ebc62c5b8d5e60e27440876b1ba1e" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.3" build_runner: dependency: "direct dev" description: name: build_runner - sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d" + sha256: "74691599a5bc750dc96a6b4bfd48f7d9d66453eab04c7f4063134800d6a5c573" url: "https://pub.dev" source: hosted - version: "2.4.13" + version: "2.4.14" build_runner_core: dependency: transitive description: name: build_runner_core - sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 + sha256: "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021" url: "https://pub.dev" source: hosted - version: "7.3.2" + version: "8.0.0" built_collection: dependency: transitive description: @@ -299,10 +299,10 @@ packages: dependency: "direct main" description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.0" connectivity_plus: dependency: "direct main" description: @@ -363,10 +363,10 @@ packages: dependency: transitive description: name: dart_style - sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" + sha256: "64b717484993e85315d0c04081b6fca9ef8bac8c2cb794b2e15810250b335913" url: "https://pub.dev" source: hosted - version: "2.3.7" + version: "3.0.0" dbus: dependency: transitive description: @@ -727,10 +727,10 @@ packages: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.1" image: dependency: transitive description: @@ -799,18 +799,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.8" leak_tracker_testing: dependency: transitive description: @@ -823,10 +823,10 @@ packages: dependency: transitive description: name: lints - sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413" + sha256: "4a16b3f03741e1252fda5de3ce712666d010ba2122f8e912c94f9f7b90e1a4c3" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.1.0" list_counter: dependency: transitive description: @@ -855,10 +855,10 @@ packages: dependency: transitive description: name: lottie - sha256: fa39707f36786707b01eca7626d2c16c32aa603b3f3a146518518458847dc127 + sha256: "377d87b8dcef640c04717e93afb86a510f0e1117a399ab94dc4b3f39c85eaa87" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.3.0" m3u_parser_nullsafe: dependency: "direct main" description: @@ -871,10 +871,10 @@ packages: dependency: transitive description: name: macros - sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" + sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" url: "https://pub.dev" source: hosted - version: "0.1.2-main.4" + version: "0.1.3-main.0" markdown: dependency: transitive description: @@ -903,10 +903,10 @@ packages: dependency: transitive description: name: matrix4_transform - sha256: "42c42610deecc382be2653f4a21358537401bd5b027c168a174c7c6a64959908" + sha256: "1346e53517e3081d3e8362377be97e285e2bd348855c177eae2a18aa965cafa0" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "4.0.1" media_kit: dependency: "direct main" description: @@ -994,10 +994,10 @@ packages: dependency: "direct main" description: name: mockito - sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917" + sha256: f99d8d072e249f719a5531735d146d8cf04c580d93920b04de75bef6dfb2daf6 url: "https://pub.dev" source: hosted - version: "5.4.4" + version: "5.4.5" nm: dependency: transitive description: @@ -1427,10 +1427,10 @@ packages: dependency: transitive description: name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.2" shelf_web_socket: dependency: transitive description: @@ -1451,7 +1451,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" smtc_windows: dependency: "direct main" description: @@ -1464,10 +1464,10 @@ packages: dependency: transitive description: name: source_gen - sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" + sha256: "35c8150ece9e8c8d263337a265153c3329667640850b9304861faea59fc98f6b" url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "2.0.0" source_span: dependency: transitive description: @@ -1528,10 +1528,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.0" state_notifier: dependency: transitive description: @@ -1560,10 +1560,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" super_clipboard: dependency: transitive description: @@ -1624,10 +1624,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.3" timing: dependency: transitive description: @@ -1744,10 +1744,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "14.2.5" + version: "14.3.0" volume_controller: dependency: transitive description: @@ -1863,10 +1863,11 @@ packages: yaru: dependency: "direct main" description: - name: yaru - sha256: "5fb1886e15f736b26c717725e335e80af7dbc91d9324d1d3e6bd355deed448a0" - url: "https://pub.dev" - source: hosted + path: "." + ref: "4a943961ad6c1d382b1bfc3bc0e67bb9f6440089" + resolved-ref: "4a943961ad6c1d382b1bfc3bc0e67bb9f6440089" + url: "https://github.com/ubuntu/yaru.dart" + source: git version: "6.0.0" yaru_window: dependency: "direct main" @@ -1909,5 +1910,5 @@ packages: source: hosted version: "0.0.3+1" sdks: - dart: ">=3.5.0 <4.0.0" - flutter: ">=3.24.5" + dart: ">=3.6.0 <4.0.0" + flutter: ">=3.27.1" diff --git a/pubspec.yaml b/pubspec.yaml index 1dcf9a91d..edddf04cd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" environment: sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.24.5" + flutter: ">=3.27.1" dependencies: animated_emoji: ^3.1.0 @@ -83,7 +83,10 @@ dependencies: win32: ^5.5.4 window_manager: ^0.4.2 xdg_directories: ^1.0.4 - yaru: ^6.0.0 + yaru: + git: + url: https://github.com/ubuntu/yaru.dart + ref: 4a943961ad6c1d382b1bfc3bc0e67bb9f6440089 yaru_window: ^0.2.1+1 yaru_window_linux: ^0.2.0+1 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f1be772e3..f6d3d96f1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -61,7 +61,7 @@ parts: flutter-git: source: https://github.com/flutter/flutter.git - source-tag: 3.24.5 + source-tag: 3.27.1 source-depth: 1 plugin: nil override-build: |