Skip to content

Commit

Permalink
upgrade sdk, packages. fix infos.
Browse files Browse the repository at this point in the history
  • Loading branch information
RedyAu committed Aug 31, 2024
1 parent 5e5c8de commit 6499fb0
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 53 deletions.
6 changes: 4 additions & 2 deletions lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ class _HomePageState extends State<HomePage> {
Future<void> initDeepLinks() async {
_appLinks = AppLinks();

_linkSubscription = _appLinks.allUriLinkStream.listen((uri) {
_linkSubscription = _appLinks.uriLinkStream.listen((uri) {
if (!mounted) return;

var error = openAppLink(uri, context);
if (error != null) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
Expand Down Expand Up @@ -125,7 +127,7 @@ class _HomePageState extends State<HomePage> {
? Brightness.dark
: Brightness.light,
systemNavigationBarColor:
Theme.of(context).colorScheme.background,
Theme.of(context).colorScheme.surface,
),
title: Tooltip(
message: 'Válassz énekeskönyvet',
Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class _EnekeskonyvState extends State<Enekeskonyv> {
seedColor:
settings.book == Book.black ? Colors.amber : Colors.blue,
brightness: settings.getCurrentAppBrightness(context),
background: settings.isOledTheme &&
surface: settings.isOledTheme &&
settings.getCurrentAppBrightness(context) ==
Brightness.dark
? Colors.black
Expand Down
6 changes: 3 additions & 3 deletions lib/quick_settings_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ by RefLabs''',
),
FilledButton(
onPressed: () {
settings.factoryReset().then(
(value) =>
Navigator.pop(context));
settings.factoryReset().then((value) =>
// ignore: use_build_context_synchronously
Navigator.pop(context));
},
child: const Text('Végleges törlés!'),
),
Expand Down
2 changes: 2 additions & 0 deletions lib/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ Hozzáfűzéshez koppints a találatra, vagy használd a Kész gombot.
getVerseId(widget.settingsProvider.book, element.songKey,
element.verseIndex))
.then((_) {
if (!mounted) return;

ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: Theme.of(context).colorScheme.primaryContainer,
Expand Down
2 changes: 1 addition & 1 deletion lib/song/buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ControllerButtons extends StatelessWidget {
return Builder(
builder: (BuildContext context) {
return Material(
color: Theme.of(context).colorScheme.background,
color: Theme.of(context).colorScheme.surface,
child: Flex(
direction: orientation == Orientation.portrait
? Axis.vertical
Expand Down
4 changes: 2 additions & 2 deletions lib/song/song_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class _SongPageState extends State<SongPage> with TickerProviderStateMixin {
seedColor:
state.book == Book.black ? Colors.amber : Colors.blue,
brightness: settings.getCurrentSheetBrightness(context),
background: settings.isOledTheme &&
surface: settings.isOledTheme &&
settings.getCurrentSheetBrightness(context) ==
Brightness.dark
? Colors.black
Expand All @@ -97,7 +97,7 @@ class _SongPageState extends State<SongPage> with TickerProviderStateMixin {
? Brightness.dark
: Brightness.light,
systemNavigationBarColor:
Theme.of(context).colorScheme.background,
Theme.of(context).colorScheme.surface,
),
),
),
Expand Down
94 changes: 55 additions & 39 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,34 @@ packages:
dependency: "direct main"
description:
name: app_links
sha256: "42dc15aecf2618ace4ffb74a2e58a50e45cd1b9f2c17c8f0cafe4c297f08c815"
sha256: "50437e5916e6f56c1ca53e967cbfd6d53b3451465b41eef05ba1533bf1e1c5ea"
url: "https://pub.dev"
source: hosted
version: "4.0.1"
version: "6.3.0"
app_links_linux:
dependency: transitive
description:
name: app_links_linux
sha256: f5f7173a78609f3dfd4c2ff2c95bd559ab43c80a87dc6a095921d96c05688c81
url: "https://pub.dev"
source: hosted
version: "1.0.3"
app_links_platform_interface:
dependency: transitive
description:
name: app_links_platform_interface
sha256: "05f5379577c513b534a29ddea68176a4d4802c46180ee8e2e966257158772a3f"
url: "https://pub.dev"
source: hosted
version: "2.0.2"
app_links_web:
dependency: transitive
description:
name: app_links_web
sha256: af060ed76183f9e2b87510a9480e56a5352b6c249778d07bd2c95fc35632a555
url: "https://pub.dev"
source: hosted
version: "1.0.4"
archive:
dependency: transitive
description:
Expand Down Expand Up @@ -85,10 +109,10 @@ packages:
dependency: transitive
description:
name: cross_file
sha256: fedaadfa3a6996f75211d835aaeb8fede285dae94262485698afd832371b9a5e
sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670"
url: "https://pub.dev"
source: hosted
version: "0.3.3+8"
version: "0.3.4+2"
crypto:
dependency: transitive
description:
Expand Down Expand Up @@ -183,10 +207,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "4.0.0"
flutter_svg:
dependency: "direct main"
description:
Expand Down Expand Up @@ -222,10 +246,10 @@ packages:
dependency: transitive
description:
name: http
sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba
sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.2.2"
http_parser:
dependency: transitive
description:
Expand All @@ -247,14 +271,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -291,10 +307,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
mailto:
dependency: "direct main"
description:
Expand Down Expand Up @@ -347,18 +363,18 @@ packages:
dependency: "direct main"
description:
name: package_info_plus
sha256: "88bc797f44a94814f2213db1c9bd5badebafdfb8290ca9f78d4b9ee2a3db4d79"
sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918
url: "https://pub.dev"
source: hosted
version: "5.0.1"
version: "8.0.2"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6"
sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.1"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -483,26 +499,26 @@ packages:
dependency: "direct main"
description:
name: share_plus
sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900"
sha256: "468c43f285207c84bcabf5737f33b914ceb8eb38398b91e5e3ad1698d1b72a52"
url: "https://pub.dev"
source: hosted
version: "7.2.2"
version: "10.0.2"
share_plus_platform_interface:
dependency: transitive
description:
name: share_plus_platform_interface
sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496"
sha256: "6ababf341050edff57da8b6990f11f4e99eaba837865e2e6defe16d039619db5"
url: "https://pub.dev"
source: hosted
version: "3.4.0"
version: "5.0.0"
shared_preferences:
dependency: "direct main"
description:
name: shared_preferences
sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180
sha256: "746e5369a43170c25816cc472ee016d3a66bc13fcf430c0bc41ad7b4b2922051"
url: "https://pub.dev"
source: hosted
version: "2.2.3"
version: "2.3.2"
shared_preferences_android:
dependency: transitive
description:
Expand Down Expand Up @@ -539,10 +555,10 @@ packages:
dependency: transitive
description:
name: shared_preferences_web
sha256: "7b15ffb9387ea3e237bb7a66b8a23d2147663d391cafc5c8f37b2e7b4bde5d21"
sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e
url: "https://pub.dev"
source: hosted
version: "2.2.2"
version: "2.4.2"
shared_preferences_windows:
dependency: transitive
description:
Expand Down Expand Up @@ -680,10 +696,10 @@ packages:
dependency: transitive
description:
name: url_launcher_web
sha256: fff0932192afeedf63cdd50ecbb1bc825d31aed259f02bb8dba0f3b729a5e88b
sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e"
url: "https://pub.dev"
source: hosted
version: "2.2.3"
version: "2.3.3"
url_launcher_windows:
dependency: transitive
description:
Expand All @@ -696,10 +712,10 @@ packages:
dependency: transitive
description:
name: uuid
sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90"
sha256: f33d6bb662f0e4f79dcd7ada2e6170f3b3a2530c28fc41f49a411ddedd576a77
url: "https://pub.dev"
source: hosted
version: "4.4.2"
version: "4.5.0"
vector_graphics:
dependency: transitive
description:
Expand Down Expand Up @@ -744,10 +760,10 @@ packages:
dependency: "direct main"
description:
name: wakelock_plus
sha256: "26ebc8b5e0037c15e2a1b661dcec8a475cb7205befcce8a33f545ae8c86b367c"
sha256: bf4ee6f17a2fa373ed3753ad0e602b7603f8c75af006d5b9bdade263928c0484
url: "https://pub.dev"
source: hosted
version: "1.1.6"
version: "1.2.8"
wakelock_plus_platform_interface:
dependency: transitive
description:
Expand All @@ -760,10 +776,10 @@ packages:
dependency: transitive
description:
name: web
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062
url: "https://pub.dev"
source: hosted
version: "0.4.2"
version: "1.0.0"
webdriver:
dependency: transitive
description:
Expand Down Expand Up @@ -805,5 +821,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.5.0 <4.0.0"
dart: ">=3.5.1 <4.0.0"
flutter: ">=3.24.0"
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: 'none'
version: 3.1.0+47

environment:
sdk: '>=3.3.0 <4.0.0'
sdk: '>=3.5.1 <4.0.0'

dependencies:
flutter:
Expand All @@ -20,17 +20,17 @@ dependencies:
mailto: ^2.0.0
fading_edge_scrollview: ^4.1.1
diacritic: ^0.1.4
app_links: ^4.0.0
app_links: ^6.3.0
qr_flutter: ^4.1.0
share_plus: ^7.0.0
package_info_plus: ^5.0.0
share_plus: ^10.0.2
package_info_plus: ^8.0.2

dev_dependencies:
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
flutter_lints: ^3.0.1
flutter_lints: ^4.0.0
flutter_launcher_icons: ^0.13.1

flutter_icons:
Expand Down

0 comments on commit 6499fb0

Please sign in to comment.