|
|
|
|
@ -246,19 +246,45 @@ class _LoginPageState extends State<LoginPage> {
|
|
|
|
|
16.height,
|
|
|
|
|
AppFilledButton(label: context.translation.signIn, buttonColor: AppColor.primary10, maxWidth: true, onPressed: _login),
|
|
|
|
|
16.height,
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
Text.rich(
|
|
|
|
|
TextSpan(
|
|
|
|
|
children: [
|
|
|
|
|
"Don't have an account? ".bodyText(context).custom(color: AppColor.textStyleColor(context)),
|
|
|
|
|
"Sign Up".bodyText(context).custom(color: AppColor.primary10, fontWeight: FontWeight.w600).onPress(() {
|
|
|
|
|
TextSpan(text: "Don't have an account? ", style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context))),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: "Sign Up",
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: AppColor.primary10),
|
|
|
|
|
recognizer: TapGestureRecognizer()
|
|
|
|
|
..onTap = () {
|
|
|
|
|
Navigator.pushNamed(context, SignUpScreen.routeName);
|
|
|
|
|
}),
|
|
|
|
|
" OR ".bodyText(context).custom(color: AppColor.textStyleColor(context)),
|
|
|
|
|
"Request a Demo".bodyText(context).custom(color: AppColor.primary10, fontWeight: FontWeight.w600).onPress(() {
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " OR ",
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context)),
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: "Request a Demo",
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: AppColor.primary10),
|
|
|
|
|
recognizer: TapGestureRecognizer()
|
|
|
|
|
..onTap = () {
|
|
|
|
|
Navigator.pushNamed(context, ApplicationDemoRequestFormScreen.routeName);
|
|
|
|
|
}),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
// textAlign: TextAlign.center, // Direct alignment parameter
|
|
|
|
|
).center,
|
|
|
|
|
// Row(
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
// children: [
|
|
|
|
|
// "Don't have an account? ".bodyText(context).custom(color: AppColor.textStyleColor(context)),
|
|
|
|
|
// "Sign Up".bodyText(context).custom(color: AppColor.primary10, fontWeight: FontWeight.w600).onPress(() {
|
|
|
|
|
// Navigator.pushNamed(context, SignUpScreen.routeName);
|
|
|
|
|
// }),
|
|
|
|
|
// " OR ".bodyText(context).custom(color: AppColor.textStyleColor(context)),
|
|
|
|
|
// "Request a Demo".bodyText(context).custom(color: AppColor.primary10, fontWeight: FontWeight.w600).onPress(() {
|
|
|
|
|
// Navigator.pushNamed(context, ApplicationDemoRequestFormScreen.routeName);
|
|
|
|
|
// }),
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// Demo Request Button
|
|
|
|
|
|
|
|
|
|
24.height,
|
|
|
|
|
|