upgrade deps

This commit is contained in:
Fabian Freund
2026-05-01 15:02:03 +02:00
parent 65fd9c2e93
commit e70d882b69
27 changed files with 3641 additions and 2441 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "org.jetbrains.kotlin.plugin.compose" version "2.3.10"
id "org.jetbrains.kotlin.plugin.compose" version "2.3.21"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}
+1 -1
View File
@@ -5,7 +5,7 @@ ext {
}
buildscript {
ext.kotlin_version = '2.3.10'
ext.kotlin_version = '2.3.21'
}
allprojects {
+1 -1
View File
@@ -19,7 +19,7 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version '8.13.2' apply false
id "org.jetbrains.kotlin.android" version "2.3.10" apply false
id "org.jetbrains.kotlin.android" version "2.3.21" apply false
}
include ":app"
@@ -32,7 +32,7 @@ import 'package:weblibre/features/geckoview/features/tabs/data/entities/tab_mode
part 'tab.g.dart';
@CopyWith()
@CopyWith(constructor: '_')
class TabState extends WebPageInfo {
static final defaultUrl = Uri.parse('about:blank');
@@ -98,6 +98,26 @@ class TabState extends WebPageInfo {
required this.translationState,
}) : super(title: title.trim());
TabState._({
required this.id,
required this.parentId,
required this.contextId,
required super.url,
required super.title,
required this.icon,
required this.thumbnail,
required this.progress,
required this.tabMode,
required this.isFullScreen,
required this.isLoading,
required this.showToolbarAsExpanded,
required this.securityInfoState,
required this.historyState,
required this.readerableState,
required this.findResultState,
required this.translationState,
});
factory TabState.$default(String tabId) => TabState(
id: tabId,
parentId: null,
@@ -13,7 +13,7 @@ abstract class _$TabStateCWProxy {
TabState url(Uri url);
TabState title(String title);
TabState title(String? title);
TabState icon(EquatableImage? icon);
@@ -50,7 +50,7 @@ abstract class _$TabStateCWProxy {
String? parentId,
String? contextId,
Uri url,
String title,
String? title,
EquatableImage? icon,
EquatableImage? thumbnail,
int progress,
@@ -83,7 +83,7 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
TabState url(Uri url) => call(url: url);
@override
TabState title(String title) => call(title: title);
TabState title(String? title) => call(title: title);
@override
TabState icon(EquatableImage? icon) => call(icon: icon);
@@ -153,7 +153,7 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
Object? findResultState = const $CopyWithPlaceholder(),
Object? translationState = const $CopyWithPlaceholder(),
}) {
return TabState(
return TabState._(
id: _value.id,
parentId: parentId == const $CopyWithPlaceholder()
? _value.parentId
@@ -167,10 +167,10 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
? _value.url
// ignore: cast_nullable_to_non_nullable
: url as Uri,
title: title == const $CopyWithPlaceholder() || title == null
title: title == const $CopyWithPlaceholder()
? _value.title
// ignore: cast_nullable_to_non_nullable
: title as String,
: title as String?,
icon: icon == const $CopyWithPlaceholder()
? _value.icon
// ignore: cast_nullable_to_non_nullable
@@ -116,7 +116,7 @@ class BookmarkEntry extends BookmarkItem with FastEquatable {
];
}
@CopyWith()
@CopyWith(constructor: '_')
@JsonSerializable()
class BookmarkFolder extends BookmarkItem with FastEquatable {
@override
@@ -141,6 +141,15 @@ class BookmarkFolder extends BookmarkItem with FastEquatable {
required this.children,
}) : title = bookmarkRootDisplayNames[guid] ?? title;
BookmarkFolder._({
required this.guid,
required this.parentGuid,
required this.title,
required this.position,
required this.dateAdded,
required this.children,
});
factory BookmarkFolder.fromJson(Map<String, dynamic> json) =>
_$BookmarkFolderFromJson(json);
@@ -199,7 +199,7 @@ class _$BookmarkFolderCWProxyImpl implements _$BookmarkFolderCWProxy {
Object? dateAdded = const $CopyWithPlaceholder(),
Object? children = const $CopyWithPlaceholder(),
}) {
return BookmarkFolder(
return BookmarkFolder._(
guid: guid == const $CopyWithPlaceholder() || guid == null
? _value.guid
// ignore: cast_nullable_to_non_nullable
+8 -8
View File
@@ -9,10 +9,10 @@ environment:
dependencies:
animated_tree_view: ^2.3.0
background_fetch: ^1.6.1
background_fetch: ^1.6.2
collection: ^1.19.1
convert: ^3.1.2
copy_with_extension: ^14.0.0
copy_with_extension: ^15.0.0
country_codes: ^3.3.0
country_flags: ^4.1.2
crypto: ^3.0.7
@@ -39,8 +39,8 @@ dependencies:
flutter_svg: ^2.2.4
flutter_tor:
path: ../../packages/flutter_tor
go_router: ^17.2.1
google_fonts: ^8.0.2
go_router: ^17.2.2
google_fonts: ^8.1.0
graphview: ^1.5.1
home_widget: ^0.9.1
hooks_riverpod: ^3.3.1
@@ -87,7 +87,7 @@ dependencies:
path: ../../packages/speech_to_text_dialog
sqlite3: ^2.9.4
sqlite3_flutter_libs: "0.5.41"
synchronized: ^3.4.0
synchronized: ^3.4.0+1
text_scroll: ^0.2.1
timeago: ^3.7.1
uri_to_file:
@@ -97,12 +97,12 @@ dependencies:
uuid: ^4.5.3
dev_dependencies:
build_runner: ^2.13.1
copy_with_extension_gen: ^14.0.0
build_runner: ^2.15.0
copy_with_extension_gen: ^15.0.0
flutter_launcher_icons: ^0.14.4
flutter_test:
sdk: flutter
go_router_builder: ^4.2.1
go_router_builder: ^4.3.0
json_serializable: ^6.13.0
lint: ^2.8.0
mockito: ^5.6.4