Pharmacist Dashboard¶
Source: pharmanet/lib/features/pharmacist/
Pages¶
| Page | File | Description |
|---|---|---|
DashboardPage |
features/pharmacist/presentation/pages/dashboard_page.dart |
KPI cards, charts, recent activity |
MedicationListPage |
features/pharmacist/presentation/pages/medication_list_page.dart |
Product inventory |
AddEditMedicationPage |
features/pharmacist/presentation/pages/add_edit_medication_page.dart |
Create/edit product |
OrderListPage |
features/pharmacist/presentation/pages/order_list_page.dart |
Incoming orders |
OrderDetailPage |
features/pharmacist/presentation/pages/order_detail_page.dart |
Order processing |
RegistrationPage |
features/pharmacist/presentation/pages/registration_page.dart |
Apply as pharmacy |
PharmacistProfilePage |
features/pharmacist/presentation/pages/pharmacist_profile_page.dart |
Store profile |
EditPharmacyProfilePage |
features/pharmacist/presentation/pages/edit_pharmacy_profile_page.dart |
Edit store info |
AnalyticsPage |
features/pharmacist/presentation/pages/analytics_page.dart |
Sales analytics |
TransactionsPage |
features/pharmacist/presentation/pages/transactions_page.dart |
Earnings & payouts |
BoostProductPage |
features/pharmacist/presentation/pages/boost_product_page.dart |
Feature a product |
ChatsPage |
features/pharmacist/presentation/pages/chats_page.dart |
Customer messages |
ChatDetailPage |
features/pharmacist/presentation/pages/chat_detail_page.dart |
Individual chat |
ChatbotPage |
features/pharmacist/presentation/pages/chatbot_page.dart |
AI assistant |
PendingPage |
features/pharmacist/presentation/pages/pending_page.dart |
Awaiting approval |
ChatSettingsPage |
features/pharmacist/presentation/pages/chat_settings_page.dart |
Chat preferences |
Providers¶
Source: pharmanet/lib/core/providers/pharmacist_provider.dart
| Provider | Type | Description |
|---|---|---|
pharmacistServiceProvider |
Provider<PharmacistService> |
Singleton service |
pharmacistProvider |
NotifierProvider<PharmacistState> |
Pharmacy profile state |
pharmacistOrdersStreamProvider |
StreamProvider<List<Order>> |
Real-time order updates |
Service¶
Source: pharmanet/lib/core/services/pharmacist_service.dart
| Method | Description |
|---|---|
getPharmacyProfile() |
Current pharmacy profile |
updatePharmacyProfile(data) |
Update store info |
uploadLogo(file) |
Upload store logo |
getDashboardStats() |
Dashboard KPI data |
getPharmacyMedications(page, limit, search, category, status) |
Product list with filters |
createMedication(data, images) |
Create product |
updateMedication(id, data, images) |
Update product |
deleteMedication(id) |
Delete product |
getPharmacyOrders(page, limit, status) |
Order list |
updateOrder(orderId, updates) |
Update order (status, etc.) |
updateOrderStatus(orderId, status, notes) |
Change status with history |
getEarnings() |
Calculate total earnings |
Dashboard KPIs¶
The pharmacist dashboard shows: - Total Products — Inventory count - Total Orders — Incoming order count - Total Revenue — Cumulative earnings - Pending Prescriptions — Awaiting verification
Each KPI has a trend indicator (up/down percentage).
Related¶
- Products — Product management
- Orders — Order processing
- Chat — Customer messaging
- Featured & Subscriptions — Boost products, subscriptions