Skip to main content

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 users by name, email, or phone number:
admin/presentation/screens/users_management_screen.dart

User Type Filters

Display all users regardless of typeFilter Value: null

Active/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

Combine user type filters with active/inactive toggle to quickly find specific user groups.
Always review user details before deactivating accounts to avoid accidental disruptions.
For drivers, ensure they’re assigned to the correct transport company for proper commission tracking.
Regularly review inactive accounts to identify issues or re-engage dormant users.

Driver Management

Verify and approve drivers

Company Management

Manage transport companies

Audit Logs

Track user changes