switching between text alignment
This commit is contained in:
@@ -322,30 +322,33 @@ class _RegisterState extends State<Register> {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
width: 450.0,
|
width: 450.0,
|
||||||
height: 100.0,
|
height: 100.0,
|
||||||
child: Row(
|
child: Padding(
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
padding: const EdgeInsets.all(30.0),
|
||||||
children: [
|
child: Row(
|
||||||
const Text(
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
'Already a User?',
|
children: [
|
||||||
style: TextStyle(fontSize: 18, color: Colors.grey),
|
const Text(
|
||||||
),
|
'Already a User?',
|
||||||
const SizedBox(
|
style: TextStyle(fontSize: 18, color: Colors.grey),
|
||||||
width: 6,
|
|
||||||
),
|
|
||||||
GestureDetector(
|
|
||||||
onTap: widget.onTap,
|
|
||||||
child: Text(
|
|
||||||
'Sign In',
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 18,
|
|
||||||
color: MzanziInnovationHub.of(context)!
|
|
||||||
.theme
|
|
||||||
.secondaryColor(),
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
const SizedBox(
|
||||||
],
|
width: 6,
|
||||||
|
),
|
||||||
|
GestureDetector(
|
||||||
|
onTap: widget.onTap,
|
||||||
|
child: Text(
|
||||||
|
'Sign In',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 18,
|
||||||
|
color: MzanziInnovationHub.of(context)!
|
||||||
|
.theme
|
||||||
|
.secondaryColor(),
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -205,35 +205,38 @@ class _SignInState extends State<SignIn> {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
width: 450.0,
|
width: 450.0,
|
||||||
height: 100.0,
|
height: 100.0,
|
||||||
child: Row(
|
child: Padding(
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
padding: const EdgeInsets.all(15.0),
|
||||||
children: [
|
child: Row(
|
||||||
const Text(
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
'New User?',
|
children: [
|
||||||
style: TextStyle(
|
const Text(
|
||||||
fontSize: 18,
|
'New User?',
|
||||||
color: Color.fromARGB(255, 201, 200, 200)),
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
width: 6,
|
|
||||||
),
|
|
||||||
GestureDetector(
|
|
||||||
onTap: widget.onTap,
|
|
||||||
child: Text(
|
|
||||||
'Register Now',
|
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
color: MzanziInnovationHub.of(context)!
|
color: Color.fromARGB(255, 201, 200, 200)),
|
||||||
.theme
|
),
|
||||||
.secondaryColor(),
|
const SizedBox(
|
||||||
fontWeight: FontWeight.bold,
|
width: 6,
|
||||||
|
),
|
||||||
|
GestureDetector(
|
||||||
|
onTap: widget.onTap,
|
||||||
|
child: Text(
|
||||||
|
'Register Now',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 18,
|
||||||
|
color: MzanziInnovationHub.of(context)!
|
||||||
|
.theme
|
||||||
|
.secondaryColor(),
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
const SizedBox(
|
||||||
const SizedBox(
|
width: 15,
|
||||||
width: 15,
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user