2022-05-29 18:28:03 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2022-05-31 13:48:18 +00:00
|
|
|
import 'package:openclosenew/colors.dart';
|
2022-06-19 18:58:09 +00:00
|
|
|
import '14_businessdetailsempty.dart';
|
2022-06-01 16:36:23 +00:00
|
|
|
import 'FontFamily.dart';
|
|
|
|
import 'fontsize.dart';
|
2022-05-29 18:28:03 +00:00
|
|
|
|
|
|
|
class profileformsuccess extends StatelessWidget {
|
|
|
|
const profileformsuccess({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Scaffold(
|
|
|
|
appBar: null,
|
|
|
|
body: Center(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Spacer(),
|
2022-05-31 13:48:18 +00:00
|
|
|
Image.asset(
|
|
|
|
'assets/images/success_vector.png',
|
|
|
|
color: primaryColor,
|
|
|
|
width: 100,
|
|
|
|
height: 100,
|
|
|
|
),
|
2022-05-29 18:28:03 +00:00
|
|
|
Align(
|
|
|
|
alignment: Alignment.center,
|
|
|
|
child: Text(
|
|
|
|
'Awesome!',
|
|
|
|
style: TextStyle(
|
2022-06-01 16:36:23 +00:00
|
|
|
fontFamily: Font,
|
2022-05-29 18:28:03 +00:00
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
2022-06-01 16:36:23 +00:00
|
|
|
fontSize: TitleText,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-29 18:28:03 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
'Your business profile completed successfully!',
|
|
|
|
style: TextStyle(
|
2022-06-01 16:36:23 +00:00
|
|
|
fontFamily: Font,
|
2022-05-29 18:28:03 +00:00
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
2022-06-01 16:36:23 +00:00
|
|
|
fontSize: HeadText,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-29 18:28:03 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 24, right: 24, bottom: 24),
|
|
|
|
child: MaterialButton(
|
|
|
|
height: 50,
|
|
|
|
minWidth: double.infinity,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-29 18:28:03 +00:00
|
|
|
onPressed: () {
|
2022-06-19 18:58:09 +00:00
|
|
|
Navigator.push(
|
|
|
|
context,
|
|
|
|
MaterialPageRoute(
|
|
|
|
builder: (_) => businessdetailsempty()));
|
2022-05-29 18:28:03 +00:00
|
|
|
},
|
|
|
|
child: Text(
|
|
|
|
'Go to Business',
|
|
|
|
style: TextStyle(
|
2022-06-01 16:36:23 +00:00
|
|
|
fontFamily: Font,
|
2022-05-29 18:28:03 +00:00
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
2022-06-01 16:36:23 +00:00
|
|
|
fontSize: HeadText,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: White),
|
2022-05-29 18:28:03 +00:00
|
|
|
),
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
borderRadius: BorderRadius.circular(5),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|