Overview
Vitu offers comprehensive settings to personalize your wellness app experience. All settings are stored locally in theuser_settings Hive box and are tied to your user account.
Accessing Settings
To access your settings:- Tap the Ajustes (Settings) icon in the bottom navigation bar
- The settings screen displays all customization options organized into sections
Appearance Settings
Theme Mode
Customize your visual experience with light or dark mode.Choose your theme
Use the segmented button to select:
- Claro (Light): Light theme with white/light gray backgrounds
- Oscuro (Dark): Dark theme with dark backgrounds
brightness (values: 'light' or 'dark')
Color Scheme
Personalize your app with custom seed colors that influence the entire color palette.View current color
Your current seed color is displayed in a large circular preview with a gradient.
Select a color
Choose from 6 preset color options:
- Amarillo (Yellow):
#FFECB3 - Lima (Lime):
#C5E1A5 - Verde (Green):
#A5D6A7 - Azul (Blue):
#90CAF9 - Rojo (Red):
#EF9A9A - Morado (Purple):
#CE93D8
seedColor (stored as ARGB integer)
Typography and Accessibility
Font Family
Choose between system font and a custom serif font.
Storage Key:
fontFamily (values: null for system, 'serif' for custom)
Additional Accessibility Options
The settings screen also displays:- Tamaño de texto (Text Size): Slider for adjusting text scale (currently display-only)
- Modo alto contraste (High Contrast Mode): Toggle for enhanced contrast (currently display-only)
Personal Data Management
Editing Height and Weight
Your height and weight affect hydration goal calculations and AI-powered recommendations.Update your measurements
- Altura (cm): Enter your height in centimeters
- Peso (kg): Enter your weight in kilograms
The hydration goal calculation formula:
- Base:
weight (kg) × 35 ml - Adjusted for age: -10% if under 14 years, -5% if 65+
- Adjusted for gender: +200ml for males
- Clamped between 1200ml and 4500ml
Hydration Goal Customization
Your hydration goal is automatically calculated but can be influenced by updating your personal data. Storage Key:metaHydratationMl (Double, in milliliters)
Default Calculation (from /home/daytona/workspace/source/lib/main.dart:202):
Security Settings
Password Change
Update your account password for enhanced security.Enter password details
In the dialog:
- Ingresa contraseña actual (Current Password): Your existing password
- Nueva contraseña (New Password): Minimum 6 characters
- Confirmar (Confirm): Re-enter new password
Privacy and Security
Location Tracking
Control whether Vitu can access your GPS location for location-based wellness features.
Storage Key:
followLocation (Boolean)
Description: “Permite acceso a GPS para funciones locales” (Allows GPS access for local features)
Other Privacy Options
- Compartir datos anónimos (Share Anonymous Data): Currently display-only
- Gestionar permisos (Manage Permissions): Access to camera, microphone, etc.
Notifications Settings
Configure notification preferences:- Activar push (Enable Push): Toggle push notifications
- Recordatorios diarios (Daily Reminders): Receive daily wellness reminders
- Alertas de salud (Health Alerts): Location-based health alerts
- Frecuencia de notificaciones (Notification Frequency): Slider to adjust frequency
Some notification settings are currently display-only and don’t affect actual behavior.
General Settings
Language Selection
Select your preferred language:- Español (Spanish): Default
- English: Available option
Language selection is currently display-only. The app is primarily in Spanish.
Settings Storage
All settings are stored in the Hiveuser_settings box:
Box Name: user_settings
Key Format: settings:{userId}
UserSettings Data Structure
Settings Persistence
- Settings are automatically saved when you make changes
- Settings persist across app sessions
- Settings are tied to your user account (email)
- Multiple users on the same device have separate settings
About Section
View app information:- Versión: 1.2.0
- Última actualización: 2024
- Política de privacidad (Privacy Policy): Tap to view
- Términos de servicio (Terms of Service): Tap to view
Resetting Settings
To reset settings to defaults:- Log out of your account (this preserves your data)
- Log back in
- Settings will use default values until you customize them again