BusinessAppFlutter/openclosenew/lib/businessaddedsuccess.dart

74 lines
2.1 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-06-09 18:43:12 +00:00
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,
2022-05-31 13:48:18 +00:00
color: primaryColor,
),
),
SizedBox(
height: 24,
),
Text(
"Your business added successfully",
style: TextStyle(
fontFamily: Font,
fontSize: HeadText,
2022-05-31 13:48:18 +00:00
color: DarkGray,
),
),
Spacer(),
MaterialButton(
height: 50,
minWidth: double.infinity,
2022-05-31 13:48:18 +00:00
color: primaryColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(4)),
onPressed: () {
Navigator.push(context,
2022-06-09 18:43:12 +00:00
MaterialPageRoute(builder: (_) => bottomnavigation()));
},
child: Text(
'Lets Explore',
style: TextStyle(
color: White,
fontSize: HeadText,
fontFamily: Font,
),
),
),
],
),
),
),
),
);
}
}