fix(patient): Remove unused and duplicate imports across patient app#200
fix(patient): Remove unused and duplicate imports across patient app#200Muneerali199 wants to merge 1 commit intoAOSSIE-Org:mainfrom
Conversation
Resolves 10 unused_import and 2 duplicate_import warnings reported by flutter analyze. Affected files: auth_repository.dart, assessment_screen.dart, consultation_request_screen.dart, consultation_slot_booking_screen.dart, personal_details_screen.dart, result.dart, reports_provider.dart, therapist_provider.dart. Closes AOSSIE-Org#195
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
💤 Files with no reviewable changes (8)
📝 WalkthroughWalkthroughThis PR removes unused and duplicate import statements across 8 files in the patient app, addressing warnings identified by Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Fixes #195
Removes 10
unused_importwarnings and 2duplicate_importwarnings flagged byflutter analyzein thepatient/app.Changes
lib/core/repository/auth/auth_repository.dartflutter/material.dartimportlib/presentation/assessments/assessment_screen.dartresult.dartimportlib/presentation/auth/consultation_request_screen.dartauth.dartandslot_booking_card.dartimportslib/presentation/auth/consultation_slot_booking_screen.dartauth_provider.dartandprovider.dartimportslib/presentation/auth/personal_details_screen.dartassessment_screen.dart,home_screen.dart, and duplicateassessments_list_screen.dartimportlib/presentation/result/result.dartdart:convert,flutter_dotenv, andhttpimportslib/provider/reports_provider.dartassets.gen.dartimportlib/provider/therapist_provider.dartflutter_dotenv,assessment_card_model.dart,supabase_assessments_repository.dartimports and duplicateflutter/material.dartimportBefore
After
Checklist
flutter analyzerun after changes — no new warnings introducedSummary by CodeRabbit