diff --git a/therapist/lib/core/repository/therapist/therapist_repository.dart b/therapist/lib/core/repository/therapist/therapist_repository.dart index a3ab3c3..9ce0f3e 100644 --- a/therapist/lib/core/repository/therapist/therapist_repository.dart +++ b/therapist/lib/core/repository/therapist/therapist_repository.dart @@ -1,5 +1,4 @@ import 'package:therapist/core/result/action_result.dart'; -import 'package:therapist/core/models/profession_model.dart'; abstract interface class TherapistRepository { diff --git a/therapist/lib/presentation/auth/auth_screen.dart b/therapist/lib/presentation/auth/auth_screen.dart index 46da774..d904def 100644 --- a/therapist/lib/presentation/auth/auth_screen.dart +++ b/therapist/lib/presentation/auth/auth_screen.dart @@ -3,9 +3,7 @@ import 'dart:async'; import 'package:smooth_page_indicator/smooth_page_indicator.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:supabase_flutter/supabase_flutter.dart'; -import 'package:therapist/presentation/auth/personal_details_screen.dart'; import 'package:therapist/presentation/auth/widgets/google_signin_button.dart'; -import '../home/home_screen.dart'; import 'package:provider/provider.dart'; import 'package:therapist/provider/auth_provider.dart'; diff --git a/therapist/lib/presentation/consultation/consultation_request_detail_screen.dart b/therapist/lib/presentation/consultation/consultation_request_detail_screen.dart index 5f293b4..2e5d6e9 100644 --- a/therapist/lib/presentation/consultation/consultation_request_detail_screen.dart +++ b/therapist/lib/presentation/consultation/consultation_request_detail_screen.dart @@ -1,9 +1,6 @@ import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; import 'package:intl/intl.dart'; -import 'package:therapist/core/entities/consultation/consultation_request_entity.dart'; import 'package:therapist/model/consultation/consultation_request_model.dart'; -import 'package:therapist/provider/consultation_provider.dart'; class ConsultationRequestDetailScreen extends StatefulWidget { final ConsultationRequestModel request; diff --git a/therapist/lib/presentation/home/widgets/patient_card.dart b/therapist/lib/presentation/home/widgets/patient_card.dart index e12a1ce..0c105d2 100644 --- a/therapist/lib/presentation/home/widgets/patient_card.dart +++ b/therapist/lib/presentation/home/widgets/patient_card.dart @@ -1,5 +1,4 @@ import 'package:flutter/material.dart'; -import 'package:therapist/presentation/therapy_goals/therapy_goals_screen.dart'; import 'package:therapist/presentation/therapy_goals/therapy_home_screen.dart'; class PatientCard extends StatelessWidget { diff --git a/therapist/lib/presentation/therapy_goals/therapy_home_screen.dart b/therapist/lib/presentation/therapy_goals/therapy_home_screen.dart index 8974c66..8f08fe5 100644 --- a/therapist/lib/presentation/therapy_goals/therapy_home_screen.dart +++ b/therapist/lib/presentation/therapy_goals/therapy_home_screen.dart @@ -1,11 +1,7 @@ import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; import 'package:therapist/presentation/therapy_goals/therapy_goals_screen.dart'; import 'package:therapist/presentation/therapy_goals/widgets/therapy_goal_home_screen_option_tile.dart'; -import 'package:therapist/repository/supabase_therapy_repository.dart'; -import '../../core/repository/therapy/therapy_repository.dart'; -import '../../provider/daily_activities_provider.dart'; import '../daily_activities/daily_activities_screen.dart'; class TherapyHomeScreen extends StatelessWidget { diff --git a/therapist/lib/provider/consultation_provider.dart b/therapist/lib/provider/consultation_provider.dart index 1f92b62..c377ca7 100644 --- a/therapist/lib/provider/consultation_provider.dart +++ b/therapist/lib/provider/consultation_provider.dart @@ -1,5 +1,4 @@ import 'package:flutter/foundation.dart'; -import 'package:therapist/core/entities/consultation/consultation_request_entity.dart'; import 'package:therapist/core/repository/consultation/consultation_repository.dart'; import 'package:therapist/core/result/result.dart'; import 'package:therapist/core/utils/api_status_enum.dart'; diff --git a/therapist/lib/provider/therapist_provider.dart b/therapist/lib/provider/therapist_provider.dart index 3cae5e8..e4ef9f2 100644 --- a/therapist/lib/provider/therapist_provider.dart +++ b/therapist/lib/provider/therapist_provider.dart @@ -1,5 +1,4 @@ import 'package:flutter/material.dart'; -import 'package:therapist/core/entities/auth_entities/therapist_personal_info_entity.dart'; import 'package:therapist/core/models/profession_model.dart'; import 'package:therapist/core/repository/therapist/therapist_repository.dart'; import 'package:therapist/core/result/result.dart'; diff --git a/therapist/lib/repository/supabase_therapy_repository.dart b/therapist/lib/repository/supabase_therapy_repository.dart index c954982..3312274 100644 --- a/therapist/lib/repository/supabase_therapy_repository.dart +++ b/therapist/lib/repository/supabase_therapy_repository.dart @@ -1,17 +1,11 @@ -import 'dart:convert'; - -import 'package:flutter/foundation.dart'; import 'package:supabase_flutter/supabase_flutter.dart'; import 'package:therapist/core/entities/therapy_entities/therapy_entities.dart'; -import 'package:therapist/core/entities/therapy_entities/therapy_type_entity.dart'; import 'package:therapist/core/result/result.dart'; import 'package:therapist/model/therapy_models/therapy_models.dart'; import 'package:uuid/uuid.dart'; -import '../core/entities/daily_activity_entities/daily_activity_model.dart' show DailyActivityModel; import '../core/entities/daily_activity_entities/daily_activity_response.dart' show DailyActivityResponse, DailyActivityResponseMapper; import '../core/repository/repository.dart'; -import '../model/daily_activities/daily_activity_response_model.dart'; class SupabaseTherapyRepository implements TherapyRepository { final _supabaseClient = Supabase.instance.client;