BusinessAppFlutter/openclosenew/lib/17-BusinessProfileFormSuccess.dart

79 lines
2.4 KiB
Dart
Raw Normal View History

import 'package:flutter/material.dart';
2022-05-31 13:48:18 +00:00
import 'package:openclosenew/colors.dart';
2022-05-30 06:56:59 +00:00
import '19-AddProductFrom.dart';
import 'FontFamily.dart';
import 'fontsize.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(),
2022-05-31 13:48:18 +00:00
Image.asset(
'assets/images/success_vector.png',
color: primaryColor,
width: 100,
height: 100,
),
Align(
alignment: Alignment.center,
child: Text(
'Awesome!',
style: TextStyle(
fontFamily: Font,
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w400,
fontSize: TitleText,
2022-05-31 13:48:18 +00:00
color: primaryColor,
),
),
),
Text(
'Your business profile completed successfully!',
style: TextStyle(
fontFamily: Font,
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w400,
fontSize: HeadText,
2022-05-31 13:48:18 +00:00
color: DarkGray,
),
),
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,
onPressed: () {
Navigator.push(context,
2022-05-30 06:56:59 +00:00
MaterialPageRoute(builder: (_) => addproductfrom()));
},
child: Text(
'Go to Business',
style: TextStyle(
fontFamily: Font,
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w600,
fontSize: HeadText,
2022-05-31 13:48:18 +00:00
color: White),
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(5),
),
),
),
],
),
),
);
}
}