From 63f62f5e781b3a922a5a026b92ba3567ae2158ea Mon Sep 17 00:00:00 2001 From: gitadmin Date: Fri, 22 Aug 2025 17:05:08 +0530 Subject: [PATCH] verification screen added --- lib/signup/signup.dart | 6 +++ lib/signup/verification_screen.dart | 72 +++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 lib/signup/verification_screen.dart diff --git a/lib/signup/signup.dart b/lib/signup/signup.dart index ddbdf4f..84f6a09 100644 --- a/lib/signup/signup.dart +++ b/lib/signup/signup.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:supplier_new/signup/verification_screen.dart'; import '../common/settings.dart'; @@ -107,11 +108,16 @@ class _SignUpState extends State { child: ElevatedButton( onPressed: () { // Submit logic goes here + Navigator.push( + context, + MaterialPageRoute(builder: (context) => VerificationScreen()), + ); }, style: ElevatedButton.styleFrom( backgroundColor: Colors.blueAccent, padding: const EdgeInsets.symmetric(vertical: 16), ), + child: Text( 'Submit', style: fontTextStyle(16, Colors.white, FontWeight.w600), diff --git a/lib/signup/verification_screen.dart b/lib/signup/verification_screen.dart new file mode 100644 index 0000000..42baa7f --- /dev/null +++ b/lib/signup/verification_screen.dart @@ -0,0 +1,72 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:supplier_new/common/settings.dart'; +import 'package:supplier_new/login/login_signup_screen.dart'; + +class VerificationScreen extends StatefulWidget { + const VerificationScreen({super.key}); + + @override + State createState() => _VerificationScreenState(); +} + +class _VerificationScreenState extends State { + @override + Widget build(BuildContext context) { + + return Scaffold( + body: Padding( + padding: EdgeInsets.all(24), + child: Column( + children: [ + SizedBox(height: MediaQuery.of(context).size.height * .2), + Center( + child: Text("AQUICK SUPPLIER", + style: fontTextStyle(20, Color(0XFF515253), FontWeight.w800)), + ), + SizedBox(height: MediaQuery.of(context).size.height * .05), + CircleAvatar(radius: 80, backgroundColor: Color(0XFFF3F1FB)), + SizedBox(height: MediaQuery.of(context).size.height * .05), + Center( + child: Text("Your application has been submitted!", + style: fontTextStyle(20, Color(0XFF343637), FontWeight.w700)), + ), + SizedBox(height: MediaQuery.of(context).size.height * .01), + Center( + child: Text( + "Please wait until our team reviews it and complete the verification process. It might take up to 3 business days.", + style: fontTextStyle(12, Color(0XFF7E7F80), FontWeight.w400), + textAlign: TextAlign.center, // Keeps text centered in multiple lines + ), + ), + SizedBox(height: MediaQuery.of(context).size.height * .06), + Container( + width: double.infinity, + height: MediaQuery.of(context).size.height * .06, + child: ElevatedButton( + style: ElevatedButton.styleFrom( + foregroundColor: Color(0XFF757575), + backgroundColor: Colors.white, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(24.0), // Customize the radius + side: BorderSide( + color: Color(0XFF757575), // Border color + width: 1, // Border width + ), + ), + ), + onPressed: () async { + + }, + child: Text( + 'Close App', + style: fontTextStyle(14, Color(0XFF646566), FontWeight.w500), + ), + ), + + ), + ], + ), + )); + } +}