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.
26 lines
425 B
YAML
26 lines
425 B
YAML
name: phone_login
|
|
description: "A new Flutter project for phone login."
|
|
publish_to: 'none'
|
|
version: 0.1.0
|
|
|
|
environment:
|
|
sdk: ^3.10.4
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
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:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|