diff --git a/lib/src/features/browse_center/presentation/extension/widgets/extension_list_tile.dart b/lib/src/features/browse_center/presentation/extension/widgets/extension_list_tile.dart index bb49e697..d6ba02d2 100644 --- a/lib/src/features/browse_center/presentation/extension/widgets/extension_list_tile.dart +++ b/lib/src/features/browse_center/presentation/extension/widgets/extension_list_tile.dart @@ -82,13 +82,13 @@ class ExtensionListTile extends HookConsumerWidget { class ExtensionListTileTailing extends StatelessWidget { const ExtensionListTileTailing({ - Key? key, + super.key, required this.extension, required this.repository, required this.isLoading, required this.ref, required this.refresh, - }) : super(key: key); + }); final Extension extension; final ExtensionRepository repository; diff --git a/lib/src/features/browse_center/presentation/source_preference/widgets/source_preference_to_widget.dart b/lib/src/features/browse_center/presentation/source_preference/widgets/source_preference_to_widget.dart index ad9d5821..7d012d9d 100644 --- a/lib/src/features/browse_center/presentation/source_preference/widgets/source_preference_to_widget.dart +++ b/lib/src/features/browse_center/presentation/source_preference/widgets/source_preference_to_widget.dart @@ -16,10 +16,10 @@ import '../../../domain/source_preference_prop/source_preference_prop.dart'; class SourcePreferenceToWidget extends StatelessWidget { const SourcePreferenceToWidget({ - Key? key, + super.key, required this.sourcePreference, required this.onChanged, - }) : super(key: key); + }); final SourcePreference sourcePreference; final ValueChanged onChanged; diff --git a/lib/src/features/manga_book/presentation/manga_details/widgets/manga_description.dart b/lib/src/features/manga_book/presentation/manga_details/widgets/manga_description.dart index f6947d5a..9b454f4d 100644 --- a/lib/src/features/manga_book/presentation/manga_details/widgets/manga_description.dart +++ b/lib/src/features/manga_book/presentation/manga_details/widgets/manga_description.dart @@ -137,11 +137,9 @@ class MangaDescription extends HookConsumerWidget { runSpacing: 8, // alignment: WrapAlignment.spaceBetween, children: [ - ...?manga.genre - ?.map( - (e) => Chip(label: Text(e)), - ) - .toList() + ...?manga.genre?.map( + (e) => Chip(label: Text(e)), + ) ], ), ) @@ -152,14 +150,12 @@ class MangaDescription extends HookConsumerWidget { scrollDirection: Axis.horizontal, child: Row( children: [ - ...?manga.genre - ?.map( - (e) => Padding( - padding: KEdgeInsets.h4.size, - child: Chip(label: Text(e)), - ), - ) - .toList() + ...?manga.genre?.map( + (e) => Padding( + padding: KEdgeInsets.h4.size, + child: Chip(label: Text(e)), + ), + ) ], ), ), diff --git a/lib/src/widgets/custom_circular_progress_indicator.dart b/lib/src/widgets/custom_circular_progress_indicator.dart index 93fe01a4..93b9c542 100644 --- a/lib/src/widgets/custom_circular_progress_indicator.dart +++ b/lib/src/widgets/custom_circular_progress_indicator.dart @@ -26,7 +26,7 @@ class CenterSorayomiShimmerIndicator extends StatelessWidget { } class SorayomiShimmerIndicator extends StatelessWidget { - const SorayomiShimmerIndicator({Key? key}) : super(key: key); + const SorayomiShimmerIndicator({super.key}); @override Widget build(BuildContext context) { diff --git a/pubspec.lock b/pubspec.lock index e52cf19e..c578abc2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -402,10 +402,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + sha256: ad76540d21c066228ee3f9d1dad64a9f7e46530e8bb7c85011a88bc1fd874bc5 url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "3.0.0" flutter_localizations: dependency: "direct main" description: flutter @@ -641,10 +641,10 @@ packages: dependency: "direct dev" description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "3.0.0" logging: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index c8069826..d952a73c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: tachidesk_sorayomi description: A new Flutter frontend for Tachidesk. publish_to: "none" -version: 0.5.16+1 +version: 0.5.17+1 environment: sdk: ">=3.0.0 <4.0.0" @@ -50,14 +50,14 @@ dev_dependencies: # flutter_flavorizr: ^2.1.5 flutter_gen_runner: ^5.1.0+1 flutter_launcher_icons: ^0.13.0 - flutter_lints: ^2.0.1 + flutter_lints: ^3.0.0 flutter_native_splash: ^2.2.14 flutter_test: sdk: flutter freezed: ^2.2.1 go_router_builder: ^2.0.0 json_serializable: ^6.5.4 - lints: ^2.0.1 + lints: ^3.0.0 riverpod_generator: ^2.0.0 flutter: