This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class User { | |
| final String uid; | |
| final String? email; | |
| User(this.uid, this.email); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //1 | |
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| import '../profile/profile_screen.dart'; | |
| import '../services/auth.dart'; | |
| class RegisterScreen extends StatefulWidget { | |
| const RegisterScreen({Key? key}) : super(key: key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:firebase_setup/screens/register_screen.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| import '../profile/profile_screen.dart'; | |
| import '../services/auth.dart'; | |
| class LoginScreen extends StatefulWidget { | |
| const LoginScreen({Key? key}) : super(key: key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| import 'login_screen.dart'; | |
| import '../services/auth.dart'; | |
| class ProfileScreen extends StatefulWidget { | |
| const ProfileScreen({Key? key}) : super(key: key); | |
| @override |
OlderNewer