move sign in and register paged to authe folder under pages

This commit is contained in:
2024-09-02 11:05:35 +02:00
parent a74fdd4530
commit 51120af377
3 changed files with 30 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:patient_manager/pages/register.dart';
import 'package:patient_manager/pages/signin.dart';
import 'package:patient_manager/pages/authentication/register.dart';
import 'package:patient_manager/pages/authentication/signin.dart';
class SignInOrRegister extends StatefulWidget {
const SignInOrRegister({super.key});

View File

@@ -284,7 +284,7 @@ class _SignInState extends State<SignIn> {
width: 500.0,
//height: 100.0,
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
mainAxisAlignment: MainAxisAlignment.start,
children: [
GestureDetector(
onTap: () {
@@ -328,6 +328,33 @@ class _SignInState extends State<SignIn> {
signIn: true,
),
),
SizedBox(
width: 500.0,
//height: 100.0,
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
GestureDetector(
onTap: () {
Navigator.of(context).pushNamed(
'/forgot-password',
);
},
child: Text(
'Forgot Password?',
style: TextStyle(
fontSize: 15,
color: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
fontWeight: FontWeight.bold,
),
),
),
],
),
),
//spacer
const SizedBox(height: 30),
// sign in button