In the ProfileScreen widget, the user's name is being displayed as a hardcoded string 'ALICE' instead of the dynamic widget.name value passed to the widget. This causes the same name to appear for all users, which is incorrect and impacts user personalization.
Expected behavior
This issue leads to an incorrect display of user-specific data. Instead of showing the actual user's name, it shows a static value. This undermines the core functionality of personalized profile screens. Change the code to display actual user name
In the ProfileScreen widget, the user's name is being displayed as a hardcoded string 'ALICE' instead of the dynamic widget.name value passed to the widget. This causes the same name to appear for all users, which is incorrect and impacts user personalization.
Expected behavior
This issue leads to an incorrect display of user-specific data. Instead of showing the actual user's name, it shows a static value. This undermines the core functionality of personalized profile screens. Change the code to display actual user name