6 Commits

Author SHA1 Message Date
mandreshope
e963abb0ce feat: Implements app theme system
Replaces hardcoded colors and standard Theme.of(context) accesses with a custom AppTheme.

Introduces distinct light and dark themes and persists the selected theme mode using shared_preferences.

Integrates the theme into the main app structure and applies it to various components and pages.

Adds google_fonts dependency for theme typography.
2025-06-23 17:48:03 +03:00
mandreshope
94b4fc1723 refactor: Refactor login flow and add product form route
Refactors the login page and model for improved separation of concerns. Moves navigation logic from the model to the page using success callbacks. Integrates a dedicated primary button component for the login action, showing loading state.

Adds a new secure route for a product form page and updates the scanner page to navigate to it when viewing scanned product details.

Simplifies the callback signature for viewing product details in the scanned product component. Also includes minor adjustments to the splash screen delay and theme definition.
2025-06-23 10:22:24 +03:00
mandreshope
aaeae104c5 refactor: Refactor product scanned component and scanner page
Refactor `ProductScannedComponent`:
- Removes redundant full-screen container.
- Adjusts padding and image size.
- Updates button styles to `FilledButton`.

Improve `ScannerPage`:
- Correctly updates loading state after product API calls.
- Simplifies fake barcode simulation for testing with a hardcoded value.
2025-06-20 16:17:05 +03:00
mandreshope
b705142d48 feat: Adds logout functionality
Adds a logout button to the home page app bar.

Implements the logout logic in the login page model, clearing the stored user token.

Navigates to the splash screen after logout to handle redirection based on the updated authentication state.
2025-06-19 16:56:13 +03:00
mandreshope
56ca49d84e style: Updates app icons
Replaces the app icons for both Android and iOS platforms. Includes necessary updates to asset catalog configurations and image files across various resolutions and sizes.
2025-06-19 16:44:37 +03:00
mandreshope
406e5b1909 initial commit 2025-06-19 16:41:41 +03:00