add create ew account button on sign in page

This commit is contained in:
2025-01-13 13:09:03 +02:00
parent 38183df535
commit d492204451
3 changed files with 65 additions and 34 deletions

View File

@@ -297,7 +297,7 @@ class _RegisterState extends State<Register> {
const SizedBox(height: 10),
//Heading
Text(
'Register',
'Create a New Account',
style: TextStyle(
fontSize: 25,
fontWeight: FontWeight.bold,
@@ -349,10 +349,10 @@ class _RegisterState extends State<Register> {
width: 500.0,
height: 50.0,
child: MIHButton(
buttonText: "Sign Up",
buttonText: "Create New Account",
buttonColor: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
.successColor(),
textColor: MzanziInnovationHub.of(context)!
.theme
.primaryColor(),
@@ -362,6 +362,21 @@ class _RegisterState extends State<Register> {
),
),
const SizedBox(height: 10),
// SizedBox(
// width: 500.0,
// height: 50.0,
// child: MIHButton(
// buttonText: "Sign In",
// buttonColor: MzanziInnovationHub.of(context)!
// .theme
// .secondaryColor(),
// textColor: MzanziInnovationHub.of(context)!
// .theme
// .primaryColor(),
// onTap: widget.onTap,
// ),
// ),
// const SizedBox(height: 10),
//register text
SizedBox(
width: 500.0,