Dani B
0f23dd9ea0
fix(01-11): fix null safety issues in HomePage
...
- Fixed null safety issues with email access
- Resolved isNotEmpty null safety warning
- Fixed conditional operator usage for null safety
- Cleaned up syntax and validation warnings
Files modified:
- lib/features/home/presentation/pages/home_page.dart
2026-01-28 11:38:49 -05:00
Dani B
7233996293
fix(01-11): resolve Flutter analysis errors and API issues
...
- Fixed GoRouter state.location -> state.uri API usage
- Removed Riverpod dependencies to simplify integration
- Rewrote HomePage to use StatelessWidget with Supabase auth
- Fixed syntax errors and ambiguous imports in router
- Resolved Center widget import conflict
Files modified:
- lib/core/router/app_router.dart (API fixes)
- lib/features/home/presentation/pages/home_page.dart (syntax fixes)
2026-01-28 11:36:28 -05:00
Dani B
37139bdb06
feat(01-11): integrate router into main app with error handling
...
- Updated main.dart to use ProviderScope and MaterialApp.router
- Integrated AppRouter with proper GoRouter configuration
- Added comprehensive error handling with ErrorBoundary widget
- Updated HomePage to use auth provider for logout functionality
- Fixed SplashPage to use GoRouter navigation
- Implemented router provider for Riverpod integration
- Added proper resource disposal and restart functionality
Files modified:
- lib/main.dart (complete app structure)
- lib/core/router/app_router.dart (router integration)
- lib/features/authentication/presentation/pages/splash_page.dart (navigation fix)
- lib/features/home/presentation/pages/home_page.dart (logout implementation)
2026-01-28 11:22:56 -05:00
Dani B
be4607e0eb
feat(01-11): create authenticated home page
...
- Created HomePage widget with user welcome message
- Added logout button placeholder
- Displays user email and avatar when authenticated
- Includes placeholder for future inventory features
- Responsive design with proper styling
- Files modified: lib/features/home/presentation/pages/home_page.dart
2026-01-28 10:56:32 -05:00