From dd7047deabb07985653b91a357d33d3ce016e55a Mon Sep 17 00:00:00 2001 From: arinming Date: Sat, 9 Nov 2024 18:28:57 +0900 Subject: [PATCH] [Feat] notifier build (#284) --- .../xcshareddata/swiftpm/Package.resolved | 123 ------------------ lib/view/on_boarding/on_boarding_screen.dart | 12 +- .../diary/diary_check_notifier.g.dart | 4 +- .../diary/diary_comment_add_notifier.g.dart | 2 +- .../diary_comment_delete_notifier.g.dart | 2 +- .../diary/diary_comment_notifier.g.dart | 4 +- .../diary_comment_report_notifier.g.dart | 4 +- .../diary/diary_delete_notifier.g.dart | 2 +- .../diary/diary_like_notifier.g.dart | 2 +- .../diary/diary_post_report_notifier.g.dart | 4 +- .../diary/farmclub_open_diary_notifier.g.dart | 4 +- .../diary/my_veggie_diary_notifier.g.dart | 4 +- .../diary/post_diary_notifier.g.dart | 2 +- .../farmclub_my_vege_provider.g.dart | 4 +- .../farmclub_possible_vege.g.dart | 4 +- .../farmclub_open_info_notifier.g.dart | 2 +- .../farmclub_info_provider.g.dart | 4 +- .../farmclub_sign_up_final_provider.g.dart | 4 +- .../farmclub_sign_up_provider.g.dart | 6 +- .../farmclub_sign_veggie_provider.g.dart | 4 +- .../motivation_message_notifier.g.dart | 4 +- .../notifier/my_veggie_add_notifier.g.dart | 2 +- .../notifier/veggie_diary_one_notifier.g.dart | 4 +- .../mission_comment_report_notifier.g.dart | 4 +- .../mission_post_report_notifier.g.dart | 4 +- .../mission_user_list_model_notifier.g.dart | 4 +- .../mission_commemt_delete_notifier.g.dart | 2 +- .../notifier/mission_delete_notifier.g.dart | 2 +- .../notifier/post_mission_notifier.g.dart | 2 +- .../my_farmclub/farmclub_help_notifier.g.dart | 4 +- ...club_mission_certification_notifier.g.dart | 2 +- .../farmclub_success_info_notifier.g.dart | 4 +- .../mission_comment_add_notifier.g.dart | 2 +- .../mission_comment_notifier.g.dart | 4 +- .../my_farmclub/mission_feed_notifier.g.dart | 4 +- .../my_farmclub/mission_like_notifier.g.dart | 2 +- .../my_farmclub_delete_notifier.g.dart | 2 +- .../my_farmclub_info_notifier.g.dart | 4 +- .../my_farmclub/my_farmclub_notifier.g.dart | 4 +- .../my_farmclub_certification_provider.g.dart | 4 +- .../my_farmclub_history_notifier.g.dart | 4 +- .../my_history_farmclub_provider.g.dart | 4 +- .../my_page/my_page_info_provider.g.dart | 4 +- .../my_page/notifier/logout_notifier.g.dart | 2 +- ...y_page_user_nickname_model_notifier.g.dart | 2 +- ...my_page_user_profile_model_notifier.g.dart | 2 +- .../notifier/user_delete_notifier.g.dart | 2 +- .../notifier/my_veggie_delete_notifier.g.dart | 2 +- .../notifier/my_veggie_info_notifier.g.dart | 4 +- .../my_vege/notifier/my_veggie_list.g.dart | 4 +- .../my_veggie_profile_change_notifier.g.dart | 2 +- .../my_veggie_profile_notifier.g.dart | 4 +- .../on_boarding_finish_notifier.g.dart | 2 +- .../on_boarding_level_notifier.dart | 3 +- .../on_boarding_level_notifier.g.dart | 4 +- .../on_boarding_motivation_notifier.dart | 16 ++- .../on_boarding_motivation_notifier.g.dart | 4 +- .../on_boarding_user_profile.g.dart | 2 +- .../my_veggie_routine_info_notifier.g.dart | 4 +- .../routine_bottom_sheet_notifier.g.dart | 4 +- .../notifier/routine_check_notifier.g.dart | 2 +- .../routine_date_list_notifier.g.dart | 4 +- .../routine_month_list_notifier.g.dart | 4 +- .../search/search_detail_provider.g.dart | 4 +- lib/view_model/search/search_provider.g.dart | 4 +- .../search_farmclub_provider.g.dart | 4 +- .../vege_delete_success_notifier.g.dart | 2 +- .../my_history_veggie_provider.g.dart | 4 +- .../my_veggie_diary_result_provider.g.dart | 4 +- .../my_veggie_history_notifier.g.dart | 4 +- .../recommend_veggie_info_notifier.g.dart | 4 +- .../veggie_info/veggie_info_notifier.g.dart | 4 +- 72 files changed, 172 insertions(+), 208 deletions(-) delete mode 100644 ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index fb65876f..00000000 --- a/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,123 +0,0 @@ -{ - "originHash" : "c63c63846d9c539229e96de38d6af51417e28c0ee9a0bc48bd0f0f19d923c329", - "pins" : [ - { - "identity" : "abseil-cpp-binary", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/abseil-cpp-binary.git", - "state" : { - "revision" : "194a6706acbd25e4ef639bcaddea16e8758a3e27", - "version" : "1.2024011602.0" - } - }, - { - "identity" : "app-check", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/app-check.git", - "state" : { - "revision" : "3b62f154d00019ae29a71e9738800bb6f18b236d", - "version" : "10.19.2" - } - }, - { - "identity" : "firebase-ios-sdk", - "kind" : "remoteSourceControl", - "location" : "https://github.com/firebase/firebase-ios-sdk", - "state" : { - "revision" : "eca84fd638116dd6adb633b5a3f31cc7befcbb7d", - "version" : "10.29.0" - } - }, - { - "identity" : "googleappmeasurement", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/GoogleAppMeasurement.git", - "state" : { - "revision" : "fe727587518729046fc1465625b9afd80b5ab361", - "version" : "10.28.0" - } - }, - { - "identity" : "googledatatransport", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/GoogleDataTransport.git", - "state" : { - "revision" : "a637d318ae7ae246b02d7305121275bc75ed5565", - "version" : "9.4.0" - } - }, - { - "identity" : "googleutilities", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/GoogleUtilities.git", - "state" : { - "revision" : "57a1d307f42df690fdef2637f3e5b776da02aad6", - "version" : "7.13.3" - } - }, - { - "identity" : "grpc-binary", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/grpc-binary.git", - "state" : { - "revision" : "e9fad491d0673bdda7063a0341fb6b47a30c5359", - "version" : "1.62.2" - } - }, - { - "identity" : "gtm-session-fetcher", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/gtm-session-fetcher.git", - "state" : { - "revision" : "a2ab612cb980066ee56d90d60d8462992c07f24b", - "version" : "3.5.0" - } - }, - { - "identity" : "interop-ios-for-google-sdks", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/interop-ios-for-google-sdks.git", - "state" : { - "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648", - "version" : "100.0.0" - } - }, - { - "identity" : "leveldb", - "kind" : "remoteSourceControl", - "location" : "https://github.com/firebase/leveldb.git", - "state" : { - "revision" : "a0bc79961d7be727d258d33d5a6b2f1023270ba1", - "version" : "1.22.5" - } - }, - { - "identity" : "nanopb", - "kind" : "remoteSourceControl", - "location" : "https://github.com/firebase/nanopb.git", - "state" : { - "revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1", - "version" : "2.30910.0" - } - }, - { - "identity" : "promises", - "kind" : "remoteSourceControl", - "location" : "https://github.com/google/promises.git", - "state" : { - "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac", - "version" : "2.4.0" - } - }, - { - "identity" : "swift-protobuf", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-protobuf.git", - "state" : { - "revision" : "ebc7251dd5b37f627c93698e4374084d98409633", - "version" : "1.28.2" - } - } - ], - "version" : 3 -} diff --git a/lib/view/on_boarding/on_boarding_screen.dart b/lib/view/on_boarding/on_boarding_screen.dart index 7bf4b238..2820b109 100644 --- a/lib/view/on_boarding/on_boarding_screen.dart +++ b/lib/view/on_boarding/on_boarding_screen.dart @@ -8,8 +8,8 @@ import 'package:farmus/view/on_boarding/component/on_boarding_first.dart'; import 'package:farmus/view/on_boarding/component/on_boarding_third.dart'; import 'package:farmus/view/on_boarding/on_boarding_finish_screen.dart'; import 'package:farmus/view_model/on_boarding//on_boarding_motivation_notifier.dart'; -import 'package:farmus/view_model/on_boarding/on_boarding_user_profile.dart'; import 'package:farmus/view_model/on_boarding/on_boarding_provider.dart'; +import 'package:farmus/view_model/on_boarding/on_boarding_user_profile.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; @@ -34,7 +34,6 @@ class OnBoardingScreen extends ConsumerWidget { String nextButtonText = "다음"; String currentIndex; bool enabled = false; - List motivationList = []; switch (currentPageIndex) { @@ -45,7 +44,6 @@ class OnBoardingScreen extends ConsumerWidget { case "second": currentIndex = "2"; enabled = true; - nextButtonText = motivation.value!.buttonText; break; case "third": currentIndex = "3"; @@ -147,10 +145,10 @@ class OnBoardingScreen extends ConsumerWidget { motivationList.add('알뜰살뜰'); } if (motivation.value!.isSecondSelect) { - motivationList.add('건강과웰빙'); + motivationList.add('건강과 웰빙'); } if (motivation.value!.isThirdSelect) { - motivationList.add('심리적안정'); + motivationList.add('심리적 안정'); } ref .read(onBoardingMotivationNotifierProvider @@ -163,7 +161,9 @@ class OnBoardingScreen extends ConsumerWidget { ref .read(onBoardingLevelNotifierProvider.notifier) .postLevel(); - ref.read(onBoardingFinishNotifierProvider.notifier).onBoardingComplete(); + ref + .read(onBoardingFinishNotifierProvider.notifier) + .onBoardingComplete(); Navigator.pop(context); Navigator.push( context, diff --git a/lib/view_model/diary/diary_check_notifier.g.dart b/lib/view_model/diary/diary_check_notifier.g.dart index 58c78d9a..a531c29c 100644 --- a/lib/view_model/diary/diary_check_notifier.g.dart +++ b/lib/view_model/diary/diary_check_notifier.g.dart @@ -143,6 +143,8 @@ class DiaryCheckModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin DiaryCheckModelRef on AutoDisposeFutureProviderRef { /// The parameter `myVeggieId` of this provider. int? get myVeggieId; @@ -157,4 +159,4 @@ class _DiaryCheckModelProviderElement int? get myVeggieId => (origin as DiaryCheckModelProvider).myVeggieId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_comment_add_notifier.g.dart b/lib/view_model/diary/diary_comment_add_notifier.g.dart index 1c116d36..3df5c2cb 100644 --- a/lib/view_model/diary/diary_comment_add_notifier.g.dart +++ b/lib/view_model/diary/diary_comment_add_notifier.g.dart @@ -25,4 +25,4 @@ final diaryCommentAddNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$DiaryCommentAddNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_comment_delete_notifier.g.dart b/lib/view_model/diary/diary_comment_delete_notifier.g.dart index 106433da..12092a19 100644 --- a/lib/view_model/diary/diary_comment_delete_notifier.g.dart +++ b/lib/view_model/diary/diary_comment_delete_notifier.g.dart @@ -24,4 +24,4 @@ final diaryCommentDeleteNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$DiaryCommentDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_comment_notifier.g.dart b/lib/view_model/diary/diary_comment_notifier.g.dart index 40631674..51f50003 100644 --- a/lib/view_model/diary/diary_comment_notifier.g.dart +++ b/lib/view_model/diary/diary_comment_notifier.g.dart @@ -144,6 +144,8 @@ class DiaryCommentNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin DiaryCommentNotifierRef on AutoDisposeFutureProviderRef { /// The parameter `diaryId` of this provider. int get diaryId; @@ -158,4 +160,4 @@ class _DiaryCommentNotifierProviderElement int get diaryId => (origin as DiaryCommentNotifierProvider).diaryId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_comment_report_notifier.g.dart b/lib/view_model/diary/diary_comment_report_notifier.g.dart index b122385e..3fa01190 100644 --- a/lib/view_model/diary/diary_comment_report_notifier.g.dart +++ b/lib/view_model/diary/diary_comment_report_notifier.g.dart @@ -156,6 +156,8 @@ class DiaryCommentReportNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin DiaryCommentReportNotifierRef on AutoDisposeFutureProviderRef { /// The parameter `commentId` of this provider. int get commentId; @@ -175,4 +177,4 @@ class _DiaryCommentReportNotifierProviderElement String get reason => (origin as DiaryCommentReportNotifierProvider).reason; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_delete_notifier.g.dart b/lib/view_model/diary/diary_delete_notifier.g.dart index 77d35105..0e5c49a0 100644 --- a/lib/view_model/diary/diary_delete_notifier.g.dart +++ b/lib/view_model/diary/diary_delete_notifier.g.dart @@ -24,4 +24,4 @@ final diaryDeleteNotifierProvider = typedef _$DiaryDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_like_notifier.g.dart b/lib/view_model/diary/diary_like_notifier.g.dart index cc7f0d8b..048a2306 100644 --- a/lib/view_model/diary/diary_like_notifier.g.dart +++ b/lib/view_model/diary/diary_like_notifier.g.dart @@ -23,4 +23,4 @@ final diaryLikeNotifierProvider = typedef _$DiaryLikeNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/diary_post_report_notifier.g.dart b/lib/view_model/diary/diary_post_report_notifier.g.dart index 836de602..103e1300 100644 --- a/lib/view_model/diary/diary_post_report_notifier.g.dart +++ b/lib/view_model/diary/diary_post_report_notifier.g.dart @@ -156,6 +156,8 @@ class DiaryPostReportNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin DiaryPostReportNotifierRef on AutoDisposeFutureProviderRef { /// The parameter `diaryId` of this provider. int get diaryId; @@ -175,4 +177,4 @@ class _DiaryPostReportNotifierProviderElement String get reason => (origin as DiaryPostReportNotifierProvider).reason; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/farmclub_open_diary_notifier.g.dart b/lib/view_model/diary/farmclub_open_diary_notifier.g.dart index 2ef72f47..79f3df26 100644 --- a/lib/view_model/diary/farmclub_open_diary_notifier.g.dart +++ b/lib/view_model/diary/farmclub_open_diary_notifier.g.dart @@ -149,6 +149,8 @@ class FarmclubOpenDiaryModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin FarmclubOpenDiaryModelRef on AutoDisposeFutureProviderRef> { /// The parameter `farmclubId` of this provider. @@ -164,4 +166,4 @@ class _FarmclubOpenDiaryModelProviderElement int? get farmclubId => (origin as FarmclubOpenDiaryModelProvider).farmclubId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/my_veggie_diary_notifier.g.dart b/lib/view_model/diary/my_veggie_diary_notifier.g.dart index df18d6cd..2109f08f 100644 --- a/lib/view_model/diary/my_veggie_diary_notifier.g.dart +++ b/lib/view_model/diary/my_veggie_diary_notifier.g.dart @@ -147,6 +147,8 @@ class MyVeggieDiaryNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MyVeggieDiaryNotifierRef on AutoDisposeFutureProviderRef> { /// The parameter `myVeggieId` of this provider. @@ -162,4 +164,4 @@ class _MyVeggieDiaryNotifierProviderElement int? get myVeggieId => (origin as MyVeggieDiaryNotifierProvider).myVeggieId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/diary/post_diary_notifier.g.dart b/lib/view_model/diary/post_diary_notifier.g.dart index 0a05ddc6..0884c283 100644 --- a/lib/view_model/diary/post_diary_notifier.g.dart +++ b/lib/view_model/diary/post_diary_notifier.g.dart @@ -23,4 +23,4 @@ final postDiaryNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$PostDiaryNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_open/farmclub_my_vege_provider.g.dart b/lib/view_model/farmclub_open/farmclub_my_vege_provider.g.dart index 062f30c2..adda6880 100644 --- a/lib/view_model/farmclub_open/farmclub_my_vege_provider.g.dart +++ b/lib/view_model/farmclub_open/farmclub_my_vege_provider.g.dart @@ -22,7 +22,9 @@ final farmclubMyVegeModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef FarmclubMyVegeModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_open/farmclub_possible_vege.g.dart b/lib/view_model/farmclub_open/farmclub_possible_vege.g.dart index 8ee13e14..ee212e12 100644 --- a/lib/view_model/farmclub_open/farmclub_possible_vege.g.dart +++ b/lib/view_model/farmclub_open/farmclub_possible_vege.g.dart @@ -22,7 +22,9 @@ final farmclubPossibleModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef FarmclubPossibleModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_open/notifier/farmclub_open_info_notifier.g.dart b/lib/view_model/farmclub_open/notifier/farmclub_open_info_notifier.g.dart index 6efa9a19..7325515a 100644 --- a/lib/view_model/farmclub_open/notifier/farmclub_open_info_notifier.g.dart +++ b/lib/view_model/farmclub_open/notifier/farmclub_open_info_notifier.g.dart @@ -25,4 +25,4 @@ final farmclubOpenInfoNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$FarmclubOpenInfoNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_sign_up/farmclub_info_provider.g.dart b/lib/view_model/farmclub_sign_up/farmclub_info_provider.g.dart index a99f9e6f..4f9518f6 100644 --- a/lib/view_model/farmclub_sign_up/farmclub_info_provider.g.dart +++ b/lib/view_model/farmclub_sign_up/farmclub_info_provider.g.dart @@ -22,7 +22,9 @@ final searchFarmclubInfoModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef SearchFarmclubInfoModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_sign_up/farmclub_sign_up_final_provider.g.dart b/lib/view_model/farmclub_sign_up/farmclub_sign_up_final_provider.g.dart index 7fcf5873..e4e4e2b1 100644 --- a/lib/view_model/farmclub_sign_up/farmclub_sign_up_final_provider.g.dart +++ b/lib/view_model/farmclub_sign_up/farmclub_sign_up_final_provider.g.dart @@ -155,6 +155,8 @@ class SignUpVeggieProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin SignUpVeggieRef on AutoDisposeFutureProviderRef { /// The parameter `farmClubId` of this provider. int get farmClubId; @@ -174,4 +176,4 @@ class _SignUpVeggieProviderElement int get myVeggieId => (origin as SignUpVeggieProvider).myVeggieId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_sign_up/farmclub_sign_up_provider.g.dart b/lib/view_model/farmclub_sign_up/farmclub_sign_up_provider.g.dart index 5227747e..fa21ee97 100644 --- a/lib/view_model/farmclub_sign_up/farmclub_sign_up_provider.g.dart +++ b/lib/view_model/farmclub_sign_up/farmclub_sign_up_provider.g.dart @@ -7,7 +7,7 @@ part of 'farmclub_sign_up_provider.dart'; // ************************************************************************** String _$searchFarmclubDetailModelHash() => - r'6692bac89f75eaac7106fb6731f3f0fae5d16c63'; + r'05f42e4c9ab672882510fff688698452f7efd44d'; /// Copied from Dart SDK class _SystemHash { @@ -147,6 +147,8 @@ class SearchFarmclubDetailModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin SearchFarmclubDetailModelRef on AutoDisposeFutureProviderRef { /// The parameter `id` of this provider. @@ -162,4 +164,4 @@ class _SearchFarmclubDetailModelProviderElement int get id => (origin as SearchFarmclubDetailModelProvider).id; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/farmclub_sign_up/farmclub_sign_veggie_provider.g.dart b/lib/view_model/farmclub_sign_up/farmclub_sign_veggie_provider.g.dart index d109a676..06fe1998 100644 --- a/lib/view_model/farmclub_sign_up/farmclub_sign_veggie_provider.g.dart +++ b/lib/view_model/farmclub_sign_up/farmclub_sign_veggie_provider.g.dart @@ -147,6 +147,8 @@ class FarmclubSignupModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin FarmclubSignupModelRef on AutoDisposeFutureProviderRef { /// The parameter `veggieInfoId` of this provider. @@ -163,4 +165,4 @@ class _FarmclubSignupModelProviderElement (origin as FarmclubSignupModelProvider).veggieInfoId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/home/notifier/motivation_message_notifier.g.dart b/lib/view_model/home/notifier/motivation_message_notifier.g.dart index 8ba51b6e..0fa49294 100644 --- a/lib/view_model/home/notifier/motivation_message_notifier.g.dart +++ b/lib/view_model/home/notifier/motivation_message_notifier.g.dart @@ -21,7 +21,9 @@ final motivationMessageProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MotivationMessageRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/home/notifier/my_veggie_add_notifier.g.dart b/lib/view_model/home/notifier/my_veggie_add_notifier.g.dart index 973655c5..d5a7f173 100644 --- a/lib/view_model/home/notifier/my_veggie_add_notifier.g.dart +++ b/lib/view_model/home/notifier/my_veggie_add_notifier.g.dart @@ -24,4 +24,4 @@ final myVeggieAddNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$MyVeggieAddNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/home/notifier/veggie_diary_one_notifier.g.dart b/lib/view_model/home/notifier/veggie_diary_one_notifier.g.dart index 5cead474..c1ff1c35 100644 --- a/lib/view_model/home/notifier/veggie_diary_one_notifier.g.dart +++ b/lib/view_model/home/notifier/veggie_diary_one_notifier.g.dart @@ -147,6 +147,8 @@ class VeggieDiaryOneModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin VeggieDiaryOneModelRef on AutoDisposeFutureProviderRef { /// The parameter `myVeggieId` of this provider. @@ -162,4 +164,4 @@ class _VeggieDiaryOneModelProviderElement int? get myVeggieId => (origin as VeggieDiaryOneModelProvider).myVeggieId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/mission_feed/mission_comment_report_notifier.g.dart b/lib/view_model/mission_feed/mission_comment_report_notifier.g.dart index 935ffba4..6a268aa3 100644 --- a/lib/view_model/mission_feed/mission_comment_report_notifier.g.dart +++ b/lib/view_model/mission_feed/mission_comment_report_notifier.g.dart @@ -157,6 +157,8 @@ class MissionCommentReportNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MissionCommentReportNotifierRef on AutoDisposeFutureProviderRef { /// The parameter `missionPostCommentId` of this provider. int get missionPostCommentId; @@ -177,4 +179,4 @@ class _MissionCommentReportNotifierProviderElement String get reason => (origin as MissionCommentReportNotifierProvider).reason; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/mission_feed/mission_post_report_notifier.g.dart b/lib/view_model/mission_feed/mission_post_report_notifier.g.dart index 4cec62cd..9c6a57f8 100644 --- a/lib/view_model/mission_feed/mission_post_report_notifier.g.dart +++ b/lib/view_model/mission_feed/mission_post_report_notifier.g.dart @@ -156,6 +156,8 @@ class MissionPostReportNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MissionPostReportNotifierRef on AutoDisposeFutureProviderRef { /// The parameter `missionPostId` of this provider. int get missionPostId; @@ -176,4 +178,4 @@ class _MissionPostReportNotifierProviderElement String get reason => (origin as MissionPostReportNotifierProvider).reason; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/mission_feed/mission_user_list_model_notifier.g.dart b/lib/view_model/mission_feed/mission_user_list_model_notifier.g.dart index a901c181..91b1205f 100644 --- a/lib/view_model/mission_feed/mission_user_list_model_notifier.g.dart +++ b/lib/view_model/mission_feed/mission_user_list_model_notifier.g.dart @@ -148,6 +148,8 @@ class MissionUserListModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MissionUserListModelRef on AutoDisposeFutureProviderRef> { /// The parameter `farmClubId` of this provider. @@ -163,4 +165,4 @@ class _MissionUserListModelProviderElement int? get farmClubId => (origin as MissionUserListModelProvider).farmClubId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/mission_write/notifier/mission_commemt_delete_notifier.g.dart b/lib/view_model/mission_write/notifier/mission_commemt_delete_notifier.g.dart index e965cad3..9405658f 100644 --- a/lib/view_model/mission_write/notifier/mission_commemt_delete_notifier.g.dart +++ b/lib/view_model/mission_write/notifier/mission_commemt_delete_notifier.g.dart @@ -24,4 +24,4 @@ final missionCommentDeleteNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$MissionCommentDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/mission_write/notifier/mission_delete_notifier.g.dart b/lib/view_model/mission_write/notifier/mission_delete_notifier.g.dart index 1b8fe523..2530cff4 100644 --- a/lib/view_model/mission_write/notifier/mission_delete_notifier.g.dart +++ b/lib/view_model/mission_write/notifier/mission_delete_notifier.g.dart @@ -24,4 +24,4 @@ final missionDeleteNotifierProvider = typedef _$MissionDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/mission_write/notifier/post_mission_notifier.g.dart b/lib/view_model/mission_write/notifier/post_mission_notifier.g.dart index 4147e06c..2f736f62 100644 --- a/lib/view_model/mission_write/notifier/post_mission_notifier.g.dart +++ b/lib/view_model/mission_write/notifier/post_mission_notifier.g.dart @@ -24,4 +24,4 @@ final postMissionNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$PostMissionNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/farmclub_help_notifier.g.dart b/lib/view_model/my_farmclub/farmclub_help_notifier.g.dart index 86aba7f8..63fea305 100644 --- a/lib/view_model/my_farmclub/farmclub_help_notifier.g.dart +++ b/lib/view_model/my_farmclub/farmclub_help_notifier.g.dart @@ -159,6 +159,8 @@ class FarmclubHelpNotifierProvider extends AutoDisposeAsyncNotifierProviderImpl< } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin FarmclubHelpNotifierRef on AutoDisposeAsyncNotifierProviderRef { /// The parameter `farmclubId` of this provider. @@ -174,4 +176,4 @@ class _FarmclubHelpNotifierProviderElement int? get farmclubId => (origin as FarmclubHelpNotifierProvider).farmclubId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/farmclub_mission_certification_notifier.g.dart b/lib/view_model/my_farmclub/farmclub_mission_certification_notifier.g.dart index b83c5cc4..d70eaf9a 100644 --- a/lib/view_model/my_farmclub/farmclub_mission_certification_notifier.g.dart +++ b/lib/view_model/my_farmclub/farmclub_mission_certification_notifier.g.dart @@ -26,4 +26,4 @@ final farmclubMissionCertificationNotifierProvider = typedef _$FarmclubMissionCertificationNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/farmclub_success_info_notifier.g.dart b/lib/view_model/my_farmclub/farmclub_success_info_notifier.g.dart index 1eb48385..85088d7d 100644 --- a/lib/view_model/my_farmclub/farmclub_success_info_notifier.g.dart +++ b/lib/view_model/my_farmclub/farmclub_success_info_notifier.g.dart @@ -147,6 +147,8 @@ class FarmclubSuccessModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin FarmclubSuccessModelRef on AutoDisposeFutureProviderRef { /// The parameter `farmClubId` of this provider. @@ -162,4 +164,4 @@ class _FarmclubSuccessModelProviderElement int? get farmClubId => (origin as FarmclubSuccessModelProvider).farmClubId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/mission_comment_add_notifier.g.dart b/lib/view_model/my_farmclub/mission_comment_add_notifier.g.dart index 8b969284..9b01d557 100644 --- a/lib/view_model/my_farmclub/mission_comment_add_notifier.g.dart +++ b/lib/view_model/my_farmclub/mission_comment_add_notifier.g.dart @@ -25,4 +25,4 @@ final missionCommentAddNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$MissionCommentAddNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/mission_comment_notifier.g.dart b/lib/view_model/my_farmclub/mission_comment_notifier.g.dart index a11eb7e0..601b19d3 100644 --- a/lib/view_model/my_farmclub/mission_comment_notifier.g.dart +++ b/lib/view_model/my_farmclub/mission_comment_notifier.g.dart @@ -147,6 +147,8 @@ class MissionCommentNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MissionCommentNotifierRef on AutoDisposeFutureProviderRef { /// The parameter `missionPostId` of this provider. @@ -163,4 +165,4 @@ class _MissionCommentNotifierProviderElement (origin as MissionCommentNotifierProvider).missionPostId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/mission_feed_notifier.g.dart b/lib/view_model/my_farmclub/mission_feed_notifier.g.dart index 74bba306..d14244bf 100644 --- a/lib/view_model/my_farmclub/mission_feed_notifier.g.dart +++ b/lib/view_model/my_farmclub/mission_feed_notifier.g.dart @@ -142,6 +142,8 @@ class MissionFeedProvider extends AutoDisposeFutureProvider> { } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MissionFeedRef on AutoDisposeFutureProviderRef> { /// The parameter `farmclubId` of this provider. int? get farmclubId; @@ -156,4 +158,4 @@ class _MissionFeedProviderElement int? get farmclubId => (origin as MissionFeedProvider).farmclubId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/mission_like_notifier.g.dart b/lib/view_model/my_farmclub/mission_like_notifier.g.dart index 2f6fdcf1..7dee277c 100644 --- a/lib/view_model/my_farmclub/mission_like_notifier.g.dart +++ b/lib/view_model/my_farmclub/mission_like_notifier.g.dart @@ -24,4 +24,4 @@ final missionLikeNotifierProvider = typedef _$MissionLikeNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/my_farmclub_delete_notifier.g.dart b/lib/view_model/my_farmclub/my_farmclub_delete_notifier.g.dart index 5dd0e5b8..2c850930 100644 --- a/lib/view_model/my_farmclub/my_farmclub_delete_notifier.g.dart +++ b/lib/view_model/my_farmclub/my_farmclub_delete_notifier.g.dart @@ -24,4 +24,4 @@ final myFarmclubDeleteNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$MyFarmclubDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/my_farmclub_info_notifier.g.dart b/lib/view_model/my_farmclub/my_farmclub_info_notifier.g.dart index 7e7d5245..f39c945a 100644 --- a/lib/view_model/my_farmclub/my_farmclub_info_notifier.g.dart +++ b/lib/view_model/my_farmclub/my_farmclub_info_notifier.g.dart @@ -147,6 +147,8 @@ class MyFarmclubInfoModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MyFarmclubInfoModelRef on AutoDisposeFutureProviderRef { /// The parameter `farmclubId` of this provider. @@ -162,4 +164,4 @@ class _MyFarmclubInfoModelProviderElement int? get farmclubId => (origin as MyFarmclubInfoModelProvider).farmclubId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub/my_farmclub_notifier.g.dart b/lib/view_model/my_farmclub/my_farmclub_notifier.g.dart index b2cff585..736446b0 100644 --- a/lib/view_model/my_farmclub/my_farmclub_notifier.g.dart +++ b/lib/view_model/my_farmclub/my_farmclub_notifier.g.dart @@ -21,7 +21,9 @@ final myFarmclubModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MyFarmclubModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub_history/my_farmclub_certification_provider.g.dart b/lib/view_model/my_farmclub_history/my_farmclub_certification_provider.g.dart index 81ee26db..95b38a69 100644 --- a/lib/view_model/my_farmclub_history/my_farmclub_certification_provider.g.dart +++ b/lib/view_model/my_farmclub_history/my_farmclub_certification_provider.g.dart @@ -149,6 +149,8 @@ class MyFarmclubCertificationModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MyFarmclubCertificationModelRef on AutoDisposeFutureProviderRef { /// The parameter `id` of this provider. @@ -164,4 +166,4 @@ class _MyFarmclubCertificationModelProviderElement String get id => (origin as MyFarmclubCertificationModelProvider).id; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_farmclub_history/my_farmclub_history_notifier.g.dart b/lib/view_model/my_farmclub_history/my_farmclub_history_notifier.g.dart index bea5b042..ff0ac507 100644 --- a/lib/view_model/my_farmclub_history/my_farmclub_history_notifier.g.dart +++ b/lib/view_model/my_farmclub_history/my_farmclub_history_notifier.g.dart @@ -22,7 +22,9 @@ final myFarmclubHistoryModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MyFarmclubHistoryModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_page/my_history_farmclub_provider.g.dart b/lib/view_model/my_page/my_history_farmclub_provider.g.dart index 71cbd0d1..c9faaebe 100644 --- a/lib/view_model/my_page/my_history_farmclub_provider.g.dart +++ b/lib/view_model/my_page/my_history_farmclub_provider.g.dart @@ -22,7 +22,9 @@ final userFarmclubHistoryModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef UserFarmclubHistoryModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_page/my_page_info_provider.g.dart b/lib/view_model/my_page/my_page_info_provider.g.dart index e08f3192..1999856e 100644 --- a/lib/view_model/my_page/my_page_info_provider.g.dart +++ b/lib/view_model/my_page/my_page_info_provider.g.dart @@ -21,6 +21,8 @@ final myPageInfoModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MyPageInfoModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_page/notifier/logout_notifier.g.dart b/lib/view_model/my_page/notifier/logout_notifier.g.dart index b59618fd..baef413a 100644 --- a/lib/view_model/my_page/notifier/logout_notifier.g.dart +++ b/lib/view_model/my_page/notifier/logout_notifier.g.dart @@ -23,4 +23,4 @@ final logoutNotifierProvider = typedef _$LogoutNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_page/notifier/my_page_user_nickname_model_notifier.g.dart b/lib/view_model/my_page/notifier/my_page_user_nickname_model_notifier.g.dart index 631dfea0..c5e48420 100644 --- a/lib/view_model/my_page/notifier/my_page_user_nickname_model_notifier.g.dart +++ b/lib/view_model/my_page/notifier/my_page_user_nickname_model_notifier.g.dart @@ -26,4 +26,4 @@ final myPageUserNicknameProfileModelNotifierProvider = typedef _$MyPageUserNicknameProfileModelNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_page/notifier/my_page_user_profile_model_notifier.g.dart b/lib/view_model/my_page/notifier/my_page_user_profile_model_notifier.g.dart index 643d2601..db0be092 100644 --- a/lib/view_model/my_page/notifier/my_page_user_profile_model_notifier.g.dart +++ b/lib/view_model/my_page/notifier/my_page_user_profile_model_notifier.g.dart @@ -25,4 +25,4 @@ final myPageUserProfileModelNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$MyPageUserProfileModelNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_page/notifier/user_delete_notifier.g.dart b/lib/view_model/my_page/notifier/user_delete_notifier.g.dart index 6fed73c3..062806d6 100644 --- a/lib/view_model/my_page/notifier/user_delete_notifier.g.dart +++ b/lib/view_model/my_page/notifier/user_delete_notifier.g.dart @@ -24,4 +24,4 @@ final userDeleteNotifierProvider = typedef _$UserDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_vege/notifier/my_veggie_delete_notifier.g.dart b/lib/view_model/my_vege/notifier/my_veggie_delete_notifier.g.dart index 3dab96a9..add5d576 100644 --- a/lib/view_model/my_vege/notifier/my_veggie_delete_notifier.g.dart +++ b/lib/view_model/my_vege/notifier/my_veggie_delete_notifier.g.dart @@ -24,4 +24,4 @@ final myVeggieDeleteNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$MyVeggieDeleteNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_vege/notifier/my_veggie_info_notifier.g.dart b/lib/view_model/my_vege/notifier/my_veggie_info_notifier.g.dart index 9168740d..09abb70d 100644 --- a/lib/view_model/my_vege/notifier/my_veggie_info_notifier.g.dart +++ b/lib/view_model/my_vege/notifier/my_veggie_info_notifier.g.dart @@ -20,6 +20,8 @@ final myVeggieInfoProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MyVeggieInfoRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_vege/notifier/my_veggie_list.g.dart b/lib/view_model/my_vege/notifier/my_veggie_list.g.dart index b81cdf80..69cedbe6 100644 --- a/lib/view_model/my_vege/notifier/my_veggie_list.g.dart +++ b/lib/view_model/my_vege/notifier/my_veggie_list.g.dart @@ -21,7 +21,9 @@ final myVeggieListModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MyVeggieListModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_vege/notifier/my_veggie_profile_change_notifier.g.dart b/lib/view_model/my_vege/notifier/my_veggie_profile_change_notifier.g.dart index d6d2bf4b..d9d30d04 100644 --- a/lib/view_model/my_vege/notifier/my_veggie_profile_change_notifier.g.dart +++ b/lib/view_model/my_vege/notifier/my_veggie_profile_change_notifier.g.dart @@ -24,4 +24,4 @@ final myVeggieProfileChangeProvider = AutoDisposeAsyncNotifierProvider< typedef _$MyVeggieProfileChange = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/my_vege/notifier/my_veggie_profile_notifier.g.dart b/lib/view_model/my_vege/notifier/my_veggie_profile_notifier.g.dart index 5ba83e8d..57ed3c92 100644 --- a/lib/view_model/my_vege/notifier/my_veggie_profile_notifier.g.dart +++ b/lib/view_model/my_vege/notifier/my_veggie_profile_notifier.g.dart @@ -143,6 +143,8 @@ class MyVeggieProfileProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MyVeggieProfileRef on AutoDisposeFutureProviderRef { /// The parameter `myVeggieId` of this provider. int? get myVeggieId; @@ -157,4 +159,4 @@ class _MyVeggieProfileProviderElement int? get myVeggieId => (origin as MyVeggieProfileProvider).myVeggieId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/on_boarding/on_boarding_finish_notifier.g.dart b/lib/view_model/on_boarding/on_boarding_finish_notifier.g.dart index 1ae6099c..7cda85ba 100644 --- a/lib/view_model/on_boarding/on_boarding_finish_notifier.g.dart +++ b/lib/view_model/on_boarding/on_boarding_finish_notifier.g.dart @@ -24,4 +24,4 @@ final onBoardingFinishNotifierProvider = typedef _$OnBoardingFinishNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/on_boarding/on_boarding_level_notifier.dart b/lib/view_model/on_boarding/on_boarding_level_notifier.dart index 3c943ff3..51470fe1 100644 --- a/lib/view_model/on_boarding/on_boarding_level_notifier.dart +++ b/lib/view_model/on_boarding/on_boarding_level_notifier.dart @@ -146,7 +146,6 @@ class OnBoardingLevelNotifier extends _$OnBoardingLevelNotifier { skill = '홈파밍 고수'; } - final response = await UserRepository.postLevel(time, skill); - print(response); + await UserRepository.postLevel(time, skill); } } diff --git a/lib/view_model/on_boarding/on_boarding_level_notifier.g.dart b/lib/view_model/on_boarding/on_boarding_level_notifier.g.dart index 4beaf63f..0dfb7d2f 100644 --- a/lib/view_model/on_boarding/on_boarding_level_notifier.g.dart +++ b/lib/view_model/on_boarding/on_boarding_level_notifier.g.dart @@ -7,7 +7,7 @@ part of 'on_boarding_level_notifier.dart'; // ************************************************************************** String _$onBoardingLevelNotifierHash() => - r'3b4df8f94a6ee8368e38f927e2d5c73fb5331e45'; + r'570475205e97a74235792835911f1bd0e772aba2'; /// See also [OnBoardingLevelNotifier]. @ProviderFor(OnBoardingLevelNotifier) @@ -25,4 +25,4 @@ final onBoardingLevelNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$OnBoardingLevelNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart b/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart index d228c306..f242238d 100644 --- a/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart +++ b/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart @@ -43,15 +43,19 @@ class OnBoardingMotivationNotifier extends _$OnBoardingMotivationNotifier { } void updateButtonText() { - if (state.value!.isFirstSelect || - state.value!.isSecondSelect || - state.value!.isThirdSelect) { - state.value?.buttonText = '다음'; - } else { - state.value?.buttonText = '건너뛰기'; + final currentState = state.value; + String newButtonText = '건너뛰기'; + + if (currentState!.isFirstSelect || + currentState.isSecondSelect || + currentState.isThirdSelect) { + newButtonText = '다음'; } + + state = AsyncData(currentState.copyWith(buttonText: newButtonText)); } + Future postMotivation(List motivation) async { await UserRepository.postMotivation(motivation); } diff --git a/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart b/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart index b5fa358a..093d149d 100644 --- a/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart +++ b/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart @@ -7,7 +7,7 @@ part of 'on_boarding_motivation_notifier.dart'; // ************************************************************************** String _$onBoardingMotivationNotifierHash() => - r'9eab06cfd2ed65596eaaa531ae7fddfe4c608361'; + r'0bc6f057b219baa328a852610b466e1401ee4a7e'; /// See also [OnBoardingMotivationNotifier]. @ProviderFor(OnBoardingMotivationNotifier) @@ -25,4 +25,4 @@ final onBoardingMotivationNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$OnBoardingMotivationNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/on_boarding/on_boarding_user_profile.g.dart b/lib/view_model/on_boarding/on_boarding_user_profile.g.dart index 412ea24b..506bbe4b 100644 --- a/lib/view_model/on_boarding/on_boarding_user_profile.g.dart +++ b/lib/view_model/on_boarding/on_boarding_user_profile.g.dart @@ -26,4 +26,4 @@ final onBoardingUserProfileModelNotifierProvider = typedef _$OnBoardingUserProfileModelNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/routine/notifier/my_veggie_routine_info_notifier.g.dart b/lib/view_model/routine/notifier/my_veggie_routine_info_notifier.g.dart index 8b00a8c9..5a27d995 100644 --- a/lib/view_model/routine/notifier/my_veggie_routine_info_notifier.g.dart +++ b/lib/view_model/routine/notifier/my_veggie_routine_info_notifier.g.dart @@ -149,6 +149,8 @@ class MyVeggieRoutineInfoModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MyVeggieRoutineInfoModelRef on AutoDisposeFutureProviderRef> { /// The parameter `myVeggieId` of this provider. @@ -165,4 +167,4 @@ class _MyVeggieRoutineInfoModelProviderElement (origin as MyVeggieRoutineInfoModelProvider).myVeggieId; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/routine/notifier/routine_bottom_sheet_notifier.g.dart b/lib/view_model/routine/notifier/routine_bottom_sheet_notifier.g.dart index 5dd9ec58..9d19d028 100644 --- a/lib/view_model/routine/notifier/routine_bottom_sheet_notifier.g.dart +++ b/lib/view_model/routine/notifier/routine_bottom_sheet_notifier.g.dart @@ -208,6 +208,8 @@ class RoutineBottomSheetNotifierProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin RoutineBottomSheetNotifierRef on AutoDisposeAsyncNotifierProviderRef { /// The parameter `myVeggieId` of this provider. @@ -240,4 +242,4 @@ class _RoutineBottomSheetNotifierProviderElement bool? get isSwitch => (origin as RoutineBottomSheetNotifierProvider).isSwitch; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/routine/notifier/routine_check_notifier.g.dart b/lib/view_model/routine/notifier/routine_check_notifier.g.dart index 7cc73f49..beb55877 100644 --- a/lib/view_model/routine/notifier/routine_check_notifier.g.dart +++ b/lib/view_model/routine/notifier/routine_check_notifier.g.dart @@ -24,4 +24,4 @@ final routineCheckNotifierProvider = typedef _$RoutineCheckNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/routine/notifier/routine_date_list_notifier.g.dart b/lib/view_model/routine/notifier/routine_date_list_notifier.g.dart index 60c88785..b055d735 100644 --- a/lib/view_model/routine/notifier/routine_date_list_notifier.g.dart +++ b/lib/view_model/routine/notifier/routine_date_list_notifier.g.dart @@ -147,6 +147,8 @@ class RoutineDateListModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin RoutineDateListModelRef on AutoDisposeFutureProviderRef> { /// The parameter `date` of this provider. @@ -162,4 +164,4 @@ class _RoutineDateListModelProviderElement String get date => (origin as RoutineDateListModelProvider).date; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/routine/notifier/routine_month_list_notifier.g.dart b/lib/view_model/routine/notifier/routine_month_list_notifier.g.dart index fc4caf1c..80494a08 100644 --- a/lib/view_model/routine/notifier/routine_month_list_notifier.g.dart +++ b/lib/view_model/routine/notifier/routine_month_list_notifier.g.dart @@ -146,6 +146,8 @@ class RoutineMonthListModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin RoutineMonthListModelRef on AutoDisposeFutureProviderRef { /// The parameter `month` of this provider. @@ -161,4 +163,4 @@ class _RoutineMonthListModelProviderElement String get month => (origin as RoutineMonthListModelProvider).month; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/search/search_detail_provider.g.dart b/lib/view_model/search/search_detail_provider.g.dart index abcee2a4..5fc063e1 100644 --- a/lib/view_model/search/search_detail_provider.g.dart +++ b/lib/view_model/search/search_detail_provider.g.dart @@ -22,7 +22,9 @@ final searchFarmclubDifficultyProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef SearchFarmclubDifficultyRef = AutoDisposeFutureProviderRef?>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/search/search_provider.g.dart b/lib/view_model/search/search_provider.g.dart index 3dfbd580..1c99c0d3 100644 --- a/lib/view_model/search/search_provider.g.dart +++ b/lib/view_model/search/search_provider.g.dart @@ -22,7 +22,9 @@ final recommendedFarmclubsModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef RecommendedFarmclubsModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/search_farmclub/search_farmclub_provider.g.dart b/lib/view_model/search_farmclub/search_farmclub_provider.g.dart index 964851db..1b26b987 100644 --- a/lib/view_model/search_farmclub/search_farmclub_provider.g.dart +++ b/lib/view_model/search_farmclub/search_farmclub_provider.g.dart @@ -148,6 +148,8 @@ class SearchFarmclubsResultProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin SearchFarmclubsResultRef on AutoDisposeFutureProviderRef?> { /// The parameter `keyword` of this provider. @@ -163,4 +165,4 @@ class _SearchFarmclubsResultProviderElement String get keyword => (origin as SearchFarmclubsResultProvider).keyword; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/vege_delete/notifier/vege_delete_success_notifier.g.dart b/lib/view_model/vege_delete/notifier/vege_delete_success_notifier.g.dart index 84b4b2db..5c7fa34c 100644 --- a/lib/view_model/vege_delete/notifier/vege_delete_success_notifier.g.dart +++ b/lib/view_model/vege_delete/notifier/vege_delete_success_notifier.g.dart @@ -25,4 +25,4 @@ final vegeDeleteSuccessNotifierProvider = AutoDisposeAsyncNotifierProvider< typedef _$VegeDeleteSuccessNotifier = AutoDisposeAsyncNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/vege_history/my_history_veggie_provider.g.dart b/lib/view_model/vege_history/my_history_veggie_provider.g.dart index 79817395..cd5a278a 100644 --- a/lib/view_model/vege_history/my_history_veggie_provider.g.dart +++ b/lib/view_model/vege_history/my_history_veggie_provider.g.dart @@ -22,7 +22,9 @@ final userVeggieHistoryModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef UserVeggieHistoryModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/vege_history/my_veggie_diary_result_provider.g.dart b/lib/view_model/vege_history/my_veggie_diary_result_provider.g.dart index fc4fe872..07c4af51 100644 --- a/lib/view_model/vege_history/my_veggie_diary_result_provider.g.dart +++ b/lib/view_model/vege_history/my_veggie_diary_result_provider.g.dart @@ -147,6 +147,8 @@ class MyVeggieDiaryResultModelProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin MyVeggieDiaryResultModelRef on AutoDisposeFutureProviderRef { /// The parameter `id` of this provider. @@ -162,4 +164,4 @@ class _MyVeggieDiaryResultModelProviderElement String get id => (origin as MyVeggieDiaryResultModelProvider).id; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/vege_history/my_veggie_history_notifier.g.dart b/lib/view_model/vege_history/my_veggie_history_notifier.g.dart index af5438b9..991a4985 100644 --- a/lib/view_model/vege_history/my_veggie_history_notifier.g.dart +++ b/lib/view_model/vege_history/my_veggie_history_notifier.g.dart @@ -22,7 +22,9 @@ final myVeggieHistoryModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef MyVeggieHistoryModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/veggie_info/recommend_veggie_info_notifier.g.dart b/lib/view_model/veggie_info/recommend_veggie_info_notifier.g.dart index 49d64d78..4e3015a1 100644 --- a/lib/view_model/veggie_info/recommend_veggie_info_notifier.g.dart +++ b/lib/view_model/veggie_info/recommend_veggie_info_notifier.g.dart @@ -22,7 +22,9 @@ final recommendVeggieModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef RecommendVeggieModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/view_model/veggie_info/veggie_info_notifier.g.dart b/lib/view_model/veggie_info/veggie_info_notifier.g.dart index 8f9c8bf2..0abd4f39 100644 --- a/lib/view_model/veggie_info/veggie_info_notifier.g.dart +++ b/lib/view_model/veggie_info/veggie_info_notifier.g.dart @@ -21,7 +21,9 @@ final veggieInfoModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef VeggieInfoModelRef = AutoDisposeFutureProviderRef>; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package