2022-05-09 06:54:36 +00:00
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:openclosenew/07_addbusiness.dart';
|
2022-05-31 13:48:18 +00:00
|
|
|
|
import 'package:openclosenew/colors.dart';
|
2022-05-09 06:54:36 +00:00
|
|
|
|
|
2022-06-10 06:39:59 +00:00
|
|
|
|
import 'BottomNavigation.dart';
|
2022-06-01 16:36:23 +00:00
|
|
|
|
import 'FontFamily.dart';
|
|
|
|
|
import 'fontsize.dart';
|
2022-05-13 18:10:28 +00:00
|
|
|
|
|
2022-05-09 06:54:36 +00:00
|
|
|
|
class business extends StatefulWidget {
|
|
|
|
|
const business({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
State<business> createState() => _businessState();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class _businessState extends State<business> {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Scaffold(
|
|
|
|
|
body: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Spacer(),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Image.asset('assets/images/businessstart.png'),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'Let’s add your business...',
|
|
|
|
|
style: TextStyle(
|
2022-06-01 16:36:23 +00:00
|
|
|
|
fontFamily: Font,
|
|
|
|
|
fontSize: HeadText,
|
2022-05-31 13:48:18 +00:00
|
|
|
|
color: DarkGray,
|
2022-05-09 06:54:36 +00:00
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Spacer(),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
2022-05-30 15:30:50 +00:00
|
|
|
|
Expanded(
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.only(left: 24, bottom: 24),
|
|
|
|
|
child: MaterialButton(
|
|
|
|
|
height: 50,
|
|
|
|
|
minWidth: double.infinity,
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(4)),
|
|
|
|
|
onPressed: () {
|
2022-06-10 06:39:59 +00:00
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (_) => bottomnavigation()));
|
2022-05-30 15:30:50 +00:00
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
'Skip',
|
2022-06-01 16:36:23 +00:00
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Gray,
|
|
|
|
|
fontSize: HeadText,
|
|
|
|
|
fontFamily: Font,
|
|
|
|
|
),
|
2022-05-30 15:30:50 +00:00
|
|
|
|
),
|
2022-05-09 06:54:36 +00:00
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Padding(
|
2022-05-30 15:30:50 +00:00
|
|
|
|
padding: const EdgeInsets.only(right: 24, bottom: 24),
|
2022-05-09 06:54:36 +00:00
|
|
|
|
child: MaterialButton(
|
|
|
|
|
height: 50,
|
|
|
|
|
minWidth: double.infinity,
|
2022-05-31 13:48:18 +00:00
|
|
|
|
color: primaryColor,
|
2022-05-09 06:54:36 +00:00
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(4)),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.push(context,
|
|
|
|
|
MaterialPageRoute(builder: (_) => addbusiness()));
|
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
'Add Now',
|
2022-06-01 16:36:23 +00:00
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: White,
|
|
|
|
|
fontSize: HeadText,
|
|
|
|
|
fontFamily: Font,
|
|
|
|
|
),
|
2022-05-09 06:54:36 +00:00
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|