business profile form started
This commit is contained in:
parent
61f0432fbb
commit
d2ea8222a7
@ -298,8 +298,9 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Spacer(),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(right: 15, top: 10, bottom: 15),
|
padding: const EdgeInsets.only(right: 5, top: 10, bottom: 15),
|
||||||
child: TextButton.icon(
|
child: TextButton.icon(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.add,
|
Icons.add,
|
||||||
@ -324,7 +325,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
height: 350,
|
height: 380,
|
||||||
child: ListView(
|
child: ListView(
|
||||||
scrollDirection: Axis.vertical,
|
scrollDirection: Axis.vertical,
|
||||||
children: [
|
children: [
|
||||||
@ -336,8 +337,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 160,
|
|
||||||
width: double.infinity,
|
|
||||||
margin: EdgeInsets.only(right: 15),
|
margin: EdgeInsets.only(right: 15),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
@ -351,7 +350,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
children: [
|
children: [
|
||||||
Image.asset(
|
Image.asset(
|
||||||
'assets/images/bg.png',
|
'assets/images/bg.png',
|
||||||
height: 250,
|
|
||||||
),
|
),
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@ -470,8 +468,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 160,
|
margin: EdgeInsets.only(right: 15),
|
||||||
margin: EdgeInsets.only(right: 15, top: 10),
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
),
|
),
|
||||||
@ -603,8 +600,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 160,
|
margin: EdgeInsets.only(right: 15),
|
||||||
margin: EdgeInsets.only(right: 15, top: 10),
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
),
|
),
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import 'package:dotted_border/dotted_border.dart';
|
import 'package:dotted_border/dotted_border.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_switch/flutter_switch.dart';
|
import 'package:flutter_switch/flutter_switch.dart';
|
||||||
|
import 'package:openclosenew/15_addbusinessdetails.dart';
|
||||||
|
|
||||||
class businessdetailsempty extends StatefulWidget {
|
class businessdetailsempty extends StatefulWidget {
|
||||||
const businessdetailsempty({Key? key}) : super(key: key);
|
const businessdetailsempty({Key? key}) : super(key: key);
|
||||||
@ -47,7 +48,7 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(bottom: 300),
|
padding: EdgeInsets.only(left: 10, right: 10, bottom: 300),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
FloatingActionButton(
|
FloatingActionButton(
|
||||||
@ -276,15 +277,23 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
DottedBorder(
|
SizedBox(
|
||||||
color: Color(0xff09CD99),
|
height: 25,
|
||||||
padding: EdgeInsets.all(5),
|
),
|
||||||
radius: Radius.circular(20),
|
InkWell(
|
||||||
child: Container(
|
onTap: () {
|
||||||
height: 50,
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (_) => addbusinessdetails(),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
child: DottedBorder(
|
||||||
|
dashPattern: [5, 5, 5, 5],
|
||||||
|
padding: EdgeInsets.all(15),
|
||||||
|
color: Color(0xff09CD99),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment:
|
|
||||||
MainAxisAlignment.center,
|
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'This Business Profile looks incomplete',
|
'This Business Profile looks incomplete',
|
||||||
@ -292,16 +301,15 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
fontFamily: 'Manrope',
|
fontFamily: 'Manrope',
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: 13,
|
||||||
color: Color(0xff09CD99),
|
color: Color(0xff09CD99),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
IconButton(
|
Spacer(),
|
||||||
icon: Icon(Icons
|
Icon(
|
||||||
.arrow_forward_ios_rounded),
|
Icons.arrow_forward_ios_rounded,
|
||||||
onPressed: () {
|
color: Color(0xFF09CD99),
|
||||||
Navigator.pop(context);
|
size: 20,
|
||||||
},
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -318,6 +326,203 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 35,
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 20, right: 15),
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
height: 50,
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'Add your food items',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xff09CD99),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Icon(
|
||||||
|
Icons.arrow_forward_ios_rounded,
|
||||||
|
color: Color(0xFF09CD99),
|
||||||
|
size: 20,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
height: 50,
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'Add your shop photos',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xff09CD99),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Icon(
|
||||||
|
Icons.arrow_forward_ios_rounded,
|
||||||
|
color: Color(0xFF09CD99),
|
||||||
|
size: 20,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
height: 50,
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'Add your business services',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xff09CD99),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Icon(
|
||||||
|
Icons.arrow_forward_ios_rounded,
|
||||||
|
color: Color(0xFF09CD99),
|
||||||
|
size: 20,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
height: 50,
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'Add your business offers',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xff09CD99),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Icon(
|
||||||
|
Icons.arrow_forward_ios_rounded,
|
||||||
|
color: Color(0xFF09CD99),
|
||||||
|
size: 20,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
height: 50,
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'Add your business coupons',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xff09CD99),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Icon(
|
||||||
|
Icons.arrow_forward_ios_rounded,
|
||||||
|
color: Color(0xFF09CD99),
|
||||||
|
size: 20,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
98
openclosenew/lib/15_addbusinessdetails.dart
Normal file
98
openclosenew/lib/15_addbusinessdetails.dart
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class addbusinessdetails extends StatefulWidget {
|
||||||
|
const addbusinessdetails({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<addbusinessdetails> createState() => _addbusinessdetailsState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _addbusinessdetailsState extends State<addbusinessdetails> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
body: SafeArea(
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 15, right: 24),
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back, size: 24),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
width: 20,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
'Add Business Detail',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xff3D3D3D),
|
||||||
|
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 30, left: 30, right: 20),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"Website",
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: "Manrope",
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w300,
|
||||||
|
fontSize: 14,
|
||||||
|
color: Color(0xFF333333)),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
TextField(
|
||||||
|
decoration: InputDecoration(
|
||||||
|
border: InputBorder.none,
|
||||||
|
hintText: "Add if you have...",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 15,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
"Your working days & hours",
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: "Manrope",
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w300,
|
||||||
|
fontSize: 14,
|
||||||
|
color: Color(0xFF333333)),
|
||||||
|
),
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
DropdownMenuItem(
|
||||||
|
child: Text("All Days"),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Icon(
|
||||||
|
Icons.keyboard_arrow_down_rounded,
|
||||||
|
color: Color(0xFF5C5C5C),
|
||||||
|
size: 35,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user