feat: Refactor HomeScreen for login-based UI and restore Firebase dependencies
Refactors the HomeScreen to dynamically display content based on the user's authentication status. - Migrated HomeScreen from StatefulWidget to StatelessWidget. - Introduced Consumer<AuthState> to listen for authentication changes. - Implemented placeholder _LoggedInView and _LoggedOutView widgets for conditional rendering. - Restored irebase_core and irebase_auth dependencies to pubspec.yaml and main.dart which were inadvertently removed by dart_fix. - Removed outdated state management for bottom navigation bar. - Addressed dart fix warnings and ensured code formatting.
This commit is contained in:
@@ -9,12 +9,12 @@ environment:
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
firebase_core: ^4.3.0
|
||||
firebase_auth: ^6.1.3
|
||||
go_router: ^17.0.1
|
||||
provider: ^6.1.5+1
|
||||
intl_phone_field: ^3.2.0
|
||||
pinput: ^6.0.1
|
||||
firebase_core: 4.3.0
|
||||
firebase_auth: 6.1.3
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user