BusinessAppFlutter/openclosenew/lib/businessaddedsuccess.dart
2022-06-10 00:13:12 +05:30

74 lines
2.1 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:flutter/material.dart';
import 'package:openclosenew/colors.dart';
import 'BottomNavigation.dart';
import 'FontFamily.dart';
import 'fontsize.dart';
class businessaddedsuccess extends StatelessWidget {
const businessaddedsuccess({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: Padding(
padding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Spacer(),
Image.asset(
'assets/images/success.png',
),
SizedBox(
height: 24,
),
Text(
"Yay!",
style: TextStyle(
fontSize: TitleText,
color: primaryColor,
),
),
SizedBox(
height: 24,
),
Text(
"Your business added successfully",
style: TextStyle(
fontFamily: Font,
fontSize: HeadText,
color: DarkGray,
),
),
Spacer(),
MaterialButton(
height: 50,
minWidth: double.infinity,
color: primaryColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(4)),
onPressed: () {
Navigator.push(context,
MaterialPageRoute(builder: (_) => bottomnavigation()));
},
child: Text(
'Lets Explore',
style: TextStyle(
color: White,
fontSize: HeadText,
fontFamily: Font,
),
),
),
],
),
),
),
),
);
}
}