mirror of
https://github.com/Dvorinka/1356.git
synced 2026-06-04 12:02:56 +00:00
37ffb93923
Version: 1.1.0 Major changes: - Implemented complete Flutter app structure with all core features - Added comprehensive UI screens for auth, countdown, goals, profile, settings, and social features - Integrated Supabase backend with authentication and data repositories - Added offline support with Hive caching and local storage - Implemented comprehensive routing with go_router - Added location services with Google Maps integration - Implemented notifications and home widget support - Added voice recording capabilities and AI chat features - Created comprehensive test suite and documentation - Added Android and iOS platform configurations - Implemented achievements system and social features - Added calendar integration and bucket list functionality This represents a complete Phase 1 milestone with 3,775 additions across 31 files.
21 lines
570 B
Dart
21 lines
570 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import '../application/auth_controller.dart';
|
|
import 'auth_showcase_screen.dart';
|
|
import '../../onboarding/presentation/onboarding_intro_screen.dart';
|
|
|
|
class AuthGate extends ConsumerWidget {
|
|
const AuthGate({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context, WidgetRef ref) {
|
|
final authState = ref.watch(authControllerProvider);
|
|
|
|
if (authState == null) {
|
|
return const AuthShowcaseScreen();
|
|
}
|
|
|
|
return const OnboardingIntroScreen();
|
|
}
|
|
}
|