feat: Refactor staff profile page and logout button for improved state management and navigation
This commit is contained in:
@@ -68,7 +68,7 @@ graph TD
|
||||
- `data/`: Repository Implementations.
|
||||
- `presentation/`:
|
||||
- Pages, BLoCs, Widgets.
|
||||
- For performance make the pages as `StatelessWidget` and move the state management to the BLoC or `StatefulWidget` to an external separate widget file.
|
||||
- For performance make the pages as `StatelessWidget` and move the state management to the BLoC (always use a BlocProvider when providing the BLoC to the widget tree) or `StatefulWidget` to an external separate widget file.
|
||||
- **Responsibilities**:
|
||||
- **Presentation**: UI Pages, Modular Routes.
|
||||
- **State Management**: BLoCs / Cubits.
|
||||
|
||||
Reference in New Issue
Block a user