From c2cf999398b80004496aeef4bceaf60858b1596a Mon Sep 17 00:00:00 2001 From: "Dr.Blank" <64108942+Dr-Blank@users.noreply.github.com> Date: Sat, 7 Dec 2024 12:26:59 +0530 Subject: [PATCH] dart fix --- lib/features/item_viewer/view/library_item_actions.dart | 1 - .../item_viewer/view/library_item_hero_section.dart | 8 -------- lib/features/item_viewer/view/library_item_metadata.dart | 1 - lib/features/onboarding/view/callback_page.dart | 1 - lib/features/you/view/server_manager.dart | 1 - lib/shared/widgets/shelves/book_shelf.dart | 1 - 6 files changed, 13 deletions(-) diff --git a/lib/features/item_viewer/view/library_item_actions.dart b/lib/features/item_viewer/view/library_item_actions.dart index 1b1b5a8..fe5525f 100644 --- a/lib/features/item_viewer/view/library_item_actions.dart +++ b/lib/features/item_viewer/view/library_item_actions.dart @@ -425,7 +425,6 @@ class DownloadSheet extends HookConsumerWidget { class _LibraryItemPlayButton extends HookConsumerWidget { const _LibraryItemPlayButton({ - super.key, required this.item, }); diff --git a/lib/features/item_viewer/view/library_item_hero_section.dart b/lib/features/item_viewer/view/library_item_hero_section.dart index 856c5a5..45edc02 100644 --- a/lib/features/item_viewer/view/library_item_hero_section.dart +++ b/lib/features/item_viewer/view/library_item_hero_section.dart @@ -78,7 +78,6 @@ class LibraryItemHeroSection extends HookConsumerWidget { class _BookDetails extends HookConsumerWidget { const _BookDetails({ - super.key, required this.id, this.extraMap, }); @@ -136,7 +135,6 @@ class _BookDetails extends HookConsumerWidget { class _LibraryItemProgressIndicator extends HookConsumerWidget { const _LibraryItemProgressIndicator({ - super.key, required this.id, }); @@ -213,7 +211,6 @@ class _LibraryItemProgressIndicator extends HookConsumerWidget { class _HeroSectionSubLabelWithIcon extends HookConsumerWidget { const _HeroSectionSubLabelWithIcon({ - super.key, required this.icon, required this.text, }); @@ -260,7 +257,6 @@ class _HeroSectionSubLabelWithIcon extends HookConsumerWidget { class _BookSeries extends StatelessWidget { const _BookSeries({ - super.key, required this.itemBookMetadata, required this.bookDetailsCached, }); @@ -306,7 +302,6 @@ class _BookSeries extends StatelessWidget { class _BookNarrators extends StatelessWidget { const _BookNarrators({ - super.key, required this.itemBookMetadata, required this.bookDetailsCached, }); @@ -342,7 +337,6 @@ class _BookNarrators extends StatelessWidget { class _BookCover extends HookConsumerWidget { const _BookCover({ - super.key, required this.itemId, }); @@ -416,7 +410,6 @@ class _BookCover extends HookConsumerWidget { class _BookTitle extends StatelessWidget { const _BookTitle({ - super.key, required this.extraMap, required this.itemBookMetadata, }); @@ -461,7 +454,6 @@ class _BookTitle extends StatelessWidget { class _BookAuthors extends StatelessWidget { const _BookAuthors({ - super.key, required this.itemBookMetadata, required this.bookDetailsCached, }); diff --git a/lib/features/item_viewer/view/library_item_metadata.dart b/lib/features/item_viewer/view/library_item_metadata.dart index 5874a92..b08948e 100644 --- a/lib/features/item_viewer/view/library_item_metadata.dart +++ b/lib/features/item_viewer/view/library_item_metadata.dart @@ -109,7 +109,6 @@ class LibraryItemMetadata extends HookConsumerWidget { /// key-value pair to display as column class _MetadataItem extends StatelessWidget { const _MetadataItem({ - super.key, required this.title, required this.value, }); diff --git a/lib/features/onboarding/view/callback_page.dart b/lib/features/onboarding/view/callback_page.dart index dd3de86..f4bb098 100644 --- a/lib/features/onboarding/view/callback_page.dart +++ b/lib/features/onboarding/view/callback_page.dart @@ -98,7 +98,6 @@ class BackToLoginButton extends StatelessWidget { class _SomethingWentWrong extends StatelessWidget { const _SomethingWentWrong({ - super.key, this.message = 'Error with OAuth flow', }); diff --git a/lib/features/you/view/server_manager.dart b/lib/features/you/view/server_manager.dart index 6d198a4..43c8d24 100644 --- a/lib/features/you/view/server_manager.dart +++ b/lib/features/you/view/server_manager.dart @@ -274,7 +274,6 @@ class ServerManagerPage extends HookConsumerWidget { class _AddUserDialog extends HookConsumerWidget { const _AddUserDialog({ - super.key, required this.server, }); diff --git a/lib/shared/widgets/shelves/book_shelf.dart b/lib/shared/widgets/shelves/book_shelf.dart index 4d23237..1ef7089 100644 --- a/lib/shared/widgets/shelves/book_shelf.dart +++ b/lib/shared/widgets/shelves/book_shelf.dart @@ -200,7 +200,6 @@ class BookOnShelf extends HookConsumerWidget { class _BookOnShelfPlayButton extends HookConsumerWidget { const _BookOnShelfPlayButton({ - super.key, required this.libraryItemId, });