BusinessAppFlutter/openclosenew/lib/17-BusinessProfileFormSuccess.dart
2022-05-30 12:26:59 +05:30

73 lines
2.3 KiB
Dart

import 'package:flutter/material.dart';
import '15_addbusinessdetails.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',
width: 100, height: 100),
Align(
alignment: Alignment.center,
child: Text(
'Awesome!',
style: TextStyle(
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w400,
fontSize: 25,
color: Color(0xFF09CD99),
),
),
),
Text(
'Your business profile completed successfully!',
style: TextStyle(
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w400,
fontSize: 15,
color: Color(0xFF333333),
),
),
Spacer(),
Padding(
padding: const EdgeInsets.only(left: 24, right: 24, bottom: 24),
child: MaterialButton(
height: 50,
minWidth: double.infinity,
color: Color(0xFF09CD99),
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: Colors.white),
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(5),
),
),
),
],
),
),
);
}
}