refactor: Extract hub details UI components into dedicated widgets and introduce new edit hub form elements.
This commit is contained in:
@@ -21,7 +21,9 @@ class OnboardingSection extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final TranslationsStaffProfileEn i18n = Translations.of(context).staff.profile;
|
||||
final TranslationsStaffProfileEn i18n = Translations.of(
|
||||
context,
|
||||
).staff.profile;
|
||||
|
||||
return BlocBuilder<ProfileCubit, ProfileState>(
|
||||
builder: (BuildContext context, ProfileState state) {
|
||||
@@ -49,6 +51,11 @@ class OnboardingSection extends StatelessWidget {
|
||||
completed: state.experienceComplete,
|
||||
onTap: () => Modular.to.toExperience(),
|
||||
),
|
||||
ProfileMenuItem(
|
||||
icon: UiIcons.shirt,
|
||||
label: i18n.menu_items.attire,
|
||||
onTap: () => Modular.to.toAttire(),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user