77 lines
2.3 KiB
Dart
77 lines
2.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:openclosenew/colors.dart';
|
|
import '19-AddProductFrom.dart';
|
|
|
|
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(),
|
|
Image.asset(
|
|
'assets/images/success_vector.png',
|
|
color: primaryColor,
|
|
width: 100,
|
|
height: 100,
|
|
),
|
|
Align(
|
|
alignment: Alignment.center,
|
|
child: Text(
|
|
'Awesome!',
|
|
style: TextStyle(
|
|
fontFamily: 'Manrope',
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 25,
|
|
color: primaryColor,
|
|
),
|
|
),
|
|
),
|
|
Text(
|
|
'Your business profile completed successfully!',
|
|
style: TextStyle(
|
|
fontFamily: 'Manrope',
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 15,
|
|
color: DarkGray,
|
|
),
|
|
),
|
|
Spacer(),
|
|
Padding(
|
|
padding: const EdgeInsets.only(left: 24, right: 24, bottom: 24),
|
|
child: MaterialButton(
|
|
height: 50,
|
|
minWidth: double.infinity,
|
|
color: primaryColor,
|
|
onPressed: () {
|
|
Navigator.push(context,
|
|
MaterialPageRoute(builder: (_) => addproductfrom()));
|
|
},
|
|
child: Text(
|
|
'Go to Business',
|
|
style: TextStyle(
|
|
fontFamily: 'Manrope',
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 15,
|
|
color: White),
|
|
),
|
|
shape: RoundedRectangleBorder(
|
|
borderRadius: BorderRadius.circular(5),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|