Overview
The User Management screen provides comprehensive tools for managing all platform users including clients, drivers, and company accounts.Accessing User Management
1
Navigate to Management Tab
From the admin panel, select the “Gestión” tab
2
Select User Management
Tap on “Gestión de Usuarios” card
3
View User List
All users display with filtering and search options
User Management Provider
User management uses a dedicated provider for state management:admin/presentation/providers/user_management_provider.dart
Search and Filters
Search Bar
Search users by name, email, or phone number:admin/presentation/screens/users_management_screen.dart
User Type Filters
- All Users
- Clients
- Drivers
- Companies
Display all users regardless of typeFilter Value:
nullActive/Inactive Toggle
Switch between viewing active or inactive users:admin/presentation/screens/users_management_screen.dart
Filter Chip Implementation
admin/presentation/screens/users_management_screen.dart
User List Display
Users are displayed in an interactive, scrollable list:admin/presentation/screens/users_management_screen.dart
User Card Widget
Each user is displayed in a custom card component with key information:admin/presentation/widgets/user_management_widgets.dart
User Details Sheet
View complete user information in a modal bottom sheet:admin/presentation/widgets/user_management_widgets.dart
Edit User Sheet
Modify user information through an edit form:admin/presentation/widgets/user_management_widgets.dart
Update User Implementation
admin/presentation/providers/user_management_provider.dart
Toggle User Status
Activate or deactivate user accounts:admin/presentation/screens/users_management_screen.dart
Status Toggle Implementation
admin/presentation/providers/user_management_provider.dart
Empty State
admin/presentation/screens/users_management_screen.dart
All changes to user data are automatically reflected in the UI without requiring a page refresh.
Best Practices
Use Filters Effectively
Use Filters Effectively
Combine user type filters with active/inactive toggle to quickly find specific user groups.
Verify Before Deactivating
Verify Before Deactivating
Always review user details before deactivating accounts to avoid accidental disruptions.
Assign Companies Properly
Assign Companies Properly
For drivers, ensure they’re assigned to the correct transport company for proper commission tracking.
Monitor Inactive Accounts
Monitor Inactive Accounts
Regularly review inactive accounts to identify issues or re-engage dormant users.
Related Features
Driver Management
Verify and approve drivers
Company Management
Manage transport companies
Audit Logs
Track user changes