2022-05-09 06:54:36 +00:00
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:openclosenew/07_addbusiness.dart';
|
|
|
|
|
|
2022-05-13 18:10:28 +00:00
|
|
|
|
import 'businessempty.dart';
|
|
|
|
|
|
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(
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Spacer(),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24),
|
|
|
|
|
child: TextButton(
|
2022-05-13 18:10:28 +00:00
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.push(context,
|
|
|
|
|
MaterialPageRoute(builder: (_) => businessempty()));
|
|
|
|
|
},
|
2022-05-09 06:54:36 +00:00
|
|
|
|
child: Text(
|
|
|
|
|
"Skip",
|
|
|
|
|
style: TextStyle(color: Colors.grey.shade600),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 50,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding:
|
|
|
|
|
const EdgeInsets.only(left: 0, right: 24, bottom: 24),
|
|
|
|
|
child: MaterialButton(
|
|
|
|
|
height: 50,
|
|
|
|
|
minWidth: double.infinity,
|
|
|
|
|
color: Color(0xff12C193),
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(4)),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.push(context,
|
|
|
|
|
MaterialPageRoute(builder: (_) => addbusiness()));
|
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
'Add Now',
|
|
|
|
|
style: TextStyle(color: Colors.white, fontSize: 15),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|