Pages Implementation

Implemented Profile and Recent Conversation skeleton pages
This commit is contained in:
2025-02-07 20:13:07 +00:00
parent 7504f341d2
commit 7e33872886
15 changed files with 448 additions and 63 deletions
+3 -4
View File
@@ -5,7 +5,7 @@ import 'package:messaging_app/service/snackbar_service.dart';
import 'package:provider/provider.dart';
class LoginPage extends StatefulWidget {
const LoginPage({super.key});
const LoginPage({super.key,});
@override
State<StatefulWidget> createState() {
@@ -41,7 +41,6 @@ class _LoginPageState extends State<LoginPage> {
value: MessagingProviders.instance,
child: _loginPageUI(),
),
//_loginPageUI(),
),
);
}
@@ -172,12 +171,12 @@ class _LoginPageState extends State<LoginPage> {
onPressed: () {
if (_formKey.currentState!.validate()) {
//Login User
_auth.loginWithEmailAndPassword(_email!, _password!);
_auth.login(_email!, _password!);
}
},
color: Colors.blue,
child: Text(
'Login',
'Login'.toUpperCase(),
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w700,