2022-05-12 17:39:43 +00:00
|
|
|
|
import 'package:flutter/material.dart';
|
2022-05-13 18:10:28 +00:00
|
|
|
|
import 'package:openclosenew/businessempty.dart';
|
2022-05-12 17:39:43 +00:00
|
|
|
|
|
|
|
|
|
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: 24,
|
|
|
|
|
color: Color(0xff12C193),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 24,
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
"Your business added successfully",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Spacer(),
|
|
|
|
|
MaterialButton(
|
|
|
|
|
height: 50,
|
|
|
|
|
minWidth: double.infinity,
|
|
|
|
|
color: Color(0xff12C193),
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(4)),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.push(context,
|
2022-05-13 18:10:28 +00:00
|
|
|
|
MaterialPageRoute(builder: (_) => businessempty()));
|
2022-05-12 17:39:43 +00:00
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
'Let’s Explore',
|
|
|
|
|
style: TextStyle(color: Colors.white, fontSize: 15),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|