getSubtitle method
- AppLocalizations appLocalizations
Implementation
String getSubtitle(AppLocalizations appLocalizations) => switch (this) {
PreferencesPageProjects.food =>
appLocalizations.myPreferences_food_subtitle,
PreferencesPageProjects.products =>
appLocalizations.myPreferences_product_subtitle,
PreferencesPageProjects.beauty =>
appLocalizations.myPreferences_beauty_subtitle,
PreferencesPageProjects.pets =>
appLocalizations.myPreferences_pet_food_subtitle,
};