businessEmpty
businessEmpty screen Started
This commit is contained in:
parent
83edbd27c4
commit
35135623a9
BIN
openclosenew/assets/images/bell.png
Normal file
BIN
openclosenew/assets/images/bell.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 989 B |
BIN
openclosenew/assets/images/location.png
Normal file
BIN
openclosenew/assets/images/location.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 573 B |
BIN
openclosenew/assets/images/pro.png
Normal file
BIN
openclosenew/assets/images/pro.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
openclosenew/assets/images/success.png
Normal file
BIN
openclosenew/assets/images/success.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
@ -1,5 +1,7 @@
|
|||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/widgets.dart';
|
import 'package:flutter/widgets.dart';
|
||||||
|
import 'package:openclosenew/businessaddedsuccess.dart';
|
||||||
|
|
||||||
class addbusiness extends StatefulWidget {
|
class addbusiness extends StatefulWidget {
|
||||||
addbusiness({Key? key}) : super(key: key);
|
addbusiness({Key? key}) : super(key: key);
|
||||||
@ -9,204 +11,345 @@ class addbusiness extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _addbusinessState extends State<addbusiness> {
|
class _addbusinessState extends State<addbusiness> {
|
||||||
late String valuChoose;
|
List<DropdownMenuItem<String>> listDrop = [];
|
||||||
List ListItem = ["item 1", "item 2", "item 3", "item 4", "item 5"];
|
String? selected = null;
|
||||||
|
void loadData() {
|
||||||
|
listDrop = [];
|
||||||
|
listDrop.add(new DropdownMenuItem(
|
||||||
|
child: new Text('Item No.1'),
|
||||||
|
value: 'val-1',
|
||||||
|
));
|
||||||
|
listDrop.add(new DropdownMenuItem(
|
||||||
|
child: new Text('Item No.2'),
|
||||||
|
value: 'val-2',
|
||||||
|
));
|
||||||
|
listDrop.add(new DropdownMenuItem(
|
||||||
|
child: new Text('Item No.3'),
|
||||||
|
value: 'val-3',
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
List<DropdownMenuItem<String>> listDrop1 = [];
|
||||||
|
String? selected1 = null;
|
||||||
|
void loadData1() {
|
||||||
|
listDrop1 = [];
|
||||||
|
listDrop1.add(new DropdownMenuItem(
|
||||||
|
child: new Text('Item No.1'),
|
||||||
|
value: 'val-1',
|
||||||
|
));
|
||||||
|
listDrop1.add(new DropdownMenuItem(
|
||||||
|
child: new Text('Item No.2'),
|
||||||
|
value: 'val-2',
|
||||||
|
));
|
||||||
|
listDrop1.add(new DropdownMenuItem(
|
||||||
|
child: new Text('Item No.3'),
|
||||||
|
value: 'val-3',
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
loadData();
|
||||||
|
loadData1();
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
body: Column(
|
body: SingleChildScrollView(
|
||||||
children: [
|
reverse: true,
|
||||||
SizedBox(
|
child: Column(
|
||||||
height: 50,
|
children: [
|
||||||
),
|
SizedBox(
|
||||||
Padding(
|
height: 50,
|
||||||
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',
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 15,
|
|
||||||
color: Color(0xff3D3D3D),
|
|
||||||
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
|
||||||
),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
Padding(
|
||||||
Container(
|
padding: const EdgeInsets.only(left: 15, right: 24),
|
||||||
child: Column(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Image.asset(
|
IconButton(
|
||||||
'assets/images/gallery-icon.png',
|
icon: Icon(Icons.arrow_back, size: 24),
|
||||||
),
|
onPressed: () {
|
||||||
SizedBox(
|
Navigator.pop(context);
|
||||||
height: 10,
|
},
|
||||||
),
|
),
|
||||||
Text(
|
SizedBox(
|
||||||
'Uploading Logo',
|
width: 20,
|
||||||
style: TextStyle(
|
),
|
||||||
color: Colors.grey,
|
Text(
|
||||||
fontSize: 14,
|
'Add Business',
|
||||||
fontWeight: FontWeight.w400,
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope'),
|
fontSize: 15,
|
||||||
),
|
color: Color(0xff3D3D3D),
|
||||||
],
|
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
decoration: BoxDecoration(
|
Container(
|
||||||
shape: BoxShape.circle,
|
child: Column(
|
||||||
color: Colors.black,
|
children: [
|
||||||
|
Image.asset(
|
||||||
|
'assets/images/gallery-icon.png',
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
'Uploading Logo',
|
||||||
|
style: TextStyle(
|
||||||
|
color: Colors.grey,
|
||||||
|
fontSize: 14,
|
||||||
|
fontWeight: FontWeight.w400,
|
||||||
|
fontFamily: 'Manrope'),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
margin: EdgeInsets.all(15),
|
||||||
|
padding: EdgeInsets.all(30),
|
||||||
),
|
),
|
||||||
margin: EdgeInsets.all(15),
|
Container(
|
||||||
padding: EdgeInsets.all(30),
|
child: Column(
|
||||||
),
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
Container(
|
children: [
|
||||||
child: Column(
|
Padding(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
padding: const EdgeInsets.only(
|
||||||
children: [
|
left: 24,
|
||||||
Padding(
|
top: 10,
|
||||||
padding: const EdgeInsets.only(
|
right: 24,
|
||||||
left: 24,
|
|
||||||
top: 10,
|
|
||||||
right: 24,
|
|
||||||
),
|
|
||||||
child: Text(
|
|
||||||
'Business Name',
|
|
||||||
style: TextStyle(
|
|
||||||
fontFamily: "Manrope",
|
|
||||||
fontSize: 14,
|
|
||||||
color: Color(0xff333333),
|
|
||||||
),
|
),
|
||||||
),
|
child: Text(
|
||||||
),
|
'Business Name',
|
||||||
Padding(
|
style: TextStyle(
|
||||||
padding: const EdgeInsets.only(left: 24, right: 24, top: 10),
|
fontFamily: "Manrope",
|
||||||
child: TextField(
|
fontSize: 14,
|
||||||
decoration: InputDecoration(
|
color: Color(0xff333333),
|
||||||
border: InputBorder.none,
|
|
||||||
hintText: 'Type here...',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Padding(
|
|
||||||
padding: const EdgeInsets.only(
|
|
||||||
left: 24,
|
|
||||||
top: 10,
|
|
||||||
right: 24,
|
|
||||||
),
|
|
||||||
child: Text(
|
|
||||||
'Contact Number',
|
|
||||||
style: TextStyle(
|
|
||||||
fontFamily: "Manrope",
|
|
||||||
fontSize: 14,
|
|
||||||
color: Color(0xff333333),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Padding(
|
|
||||||
padding: const EdgeInsets.only(left: 24, right: 24, top: 10),
|
|
||||||
child: TextField(
|
|
||||||
decoration: InputDecoration(
|
|
||||||
border: InputBorder.none,
|
|
||||||
hintText: 'Type here...',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Padding(
|
|
||||||
padding: const EdgeInsets.only(
|
|
||||||
left: 24,
|
|
||||||
top: 10,
|
|
||||||
right: 24,
|
|
||||||
),
|
|
||||||
child: Text(
|
|
||||||
'Tell about your business...',
|
|
||||||
style: TextStyle(
|
|
||||||
fontFamily: "Manrope",
|
|
||||||
fontSize: 14,
|
|
||||||
color: Color(0xff333333),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Padding(
|
|
||||||
padding: const EdgeInsets.only(left: 24, right: 24, top: 10),
|
|
||||||
child: TextField(
|
|
||||||
maxLines: 5,
|
|
||||||
keyboardType: TextInputType.multiline,
|
|
||||||
decoration: InputDecoration(
|
|
||||||
border: InputBorder.none,
|
|
||||||
hintText: 'Type here...',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
|
||||||
SizedBox(
|
|
||||||
width: 28,
|
|
||||||
),
|
|
||||||
Text('Industry'),
|
|
||||||
SizedBox(
|
|
||||||
width: 120,
|
|
||||||
),
|
|
||||||
Text('Category'),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
Row(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
|
||||||
SizedBox(
|
|
||||||
width: 28,
|
|
||||||
),
|
|
||||||
DropdownButton(
|
|
||||||
hint: Text(
|
|
||||||
'Food',
|
|
||||||
style: TextStyle(color: Color(0xff3D3D3D)),
|
|
||||||
),
|
),
|
||||||
iconSize: 14,
|
|
||||||
icon: Icon(Icons.keyboard_arrow_down, size: 24),
|
|
||||||
items: [
|
|
||||||
DropdownMenuItem<String>(
|
|
||||||
value: "1",
|
|
||||||
child: Center(
|
|
||||||
child: Text("one"),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
onChanged: (_value) => {
|
|
||||||
print(_value.toString()),
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
Spacer(),
|
),
|
||||||
DropdownButton(
|
Padding(
|
||||||
items: [
|
padding:
|
||||||
DropdownMenuItem<String>(
|
const EdgeInsets.only(left: 24, right: 24, top: 10),
|
||||||
value: "1",
|
child: TextField(
|
||||||
child: Center(
|
decoration: InputDecoration(
|
||||||
child: Text("one"),
|
contentPadding:
|
||||||
|
EdgeInsets.only(left: 10, top: 5, bottom: 5),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
hintText: 'Type here...',
|
||||||
onChanged: (_value) => {
|
),
|
||||||
print(_value.toString()),
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
),
|
Padding(
|
||||||
],
|
padding: const EdgeInsets.only(
|
||||||
|
left: 24,
|
||||||
|
top: 10,
|
||||||
|
right: 24,
|
||||||
|
),
|
||||||
|
child: Text(
|
||||||
|
'Contact Number',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: "Manrope",
|
||||||
|
fontSize: 14,
|
||||||
|
color: Color(0xff333333),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding:
|
||||||
|
const EdgeInsets.only(left: 24, right: 24, top: 10),
|
||||||
|
child: TextField(
|
||||||
|
decoration: InputDecoration(
|
||||||
|
contentPadding:
|
||||||
|
EdgeInsets.only(left: 10, top: 5, bottom: 5),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
hintText: 'Type here...',
|
||||||
|
),
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding:
|
||||||
|
const EdgeInsets.only(left: 24, top: 10, right: 24),
|
||||||
|
child: Text(
|
||||||
|
'Tell about your business...',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: "Manrope",
|
||||||
|
fontSize: 14,
|
||||||
|
color: Color(0xff333333),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding:
|
||||||
|
const EdgeInsets.only(left: 24, right: 24, top: 10),
|
||||||
|
child: TextField(
|
||||||
|
maxLines: 4,
|
||||||
|
keyboardType: TextInputType.multiline,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
contentPadding:
|
||||||
|
EdgeInsets.only(left: 10, top: 5, bottom: 5),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
hintText: 'Type here...',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 10),
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
width: 28,
|
||||||
|
),
|
||||||
|
Text('Industry'),
|
||||||
|
SizedBox(
|
||||||
|
width: 120,
|
||||||
|
),
|
||||||
|
Text('Category'),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 5, right: 24),
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
width: 28,
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
child: InputDecorator(
|
||||||
|
decoration: InputDecoration(
|
||||||
|
contentPadding: EdgeInsets.only(
|
||||||
|
left: 10, top: 1, bottom: 1, right: 5),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.only(
|
||||||
|
topLeft: Radius.circular(5),
|
||||||
|
bottomLeft: Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: DropdownButtonHideUnderline(
|
||||||
|
child: new DropdownButton(
|
||||||
|
elevation: 1,
|
||||||
|
value: selected,
|
||||||
|
items: listDrop,
|
||||||
|
icon: Icon(Icons.keyboard_arrow_down, size: 24),
|
||||||
|
hint: new Text('Choose...'),
|
||||||
|
onChanged: (value) {
|
||||||
|
selected = value as String?;
|
||||||
|
setState(() {});
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
child: InputDecorator(
|
||||||
|
decoration: InputDecoration(
|
||||||
|
contentPadding: EdgeInsets.only(
|
||||||
|
left: 10, top: 1, bottom: 1, right: 5),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.only(
|
||||||
|
topRight: Radius.circular(5),
|
||||||
|
bottomRight: Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: DropdownButtonHideUnderline(
|
||||||
|
child: new DropdownButton(
|
||||||
|
elevation: 1,
|
||||||
|
value: selected1,
|
||||||
|
items: listDrop1,
|
||||||
|
icon: Icon(Icons.keyboard_arrow_down, size: 24),
|
||||||
|
hint: new Text('Choose...'),
|
||||||
|
onChanged: (value) {
|
||||||
|
selected1 = value as String?;
|
||||||
|
setState(() {});
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 28),
|
||||||
|
child: Text(
|
||||||
|
'Address',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: "Manrope",
|
||||||
|
fontSize: 14,
|
||||||
|
color: Color(0xff333333),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 28, right: 24),
|
||||||
|
child: TextField(
|
||||||
|
decoration: InputDecoration(
|
||||||
|
contentPadding:
|
||||||
|
EdgeInsets.only(left: 10, top: 5, bottom: 5),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
hintText: 'Type here...',
|
||||||
|
suffixIcon:
|
||||||
|
Image.asset('assets/images/location.png'),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 15),
|
||||||
|
child: MaterialButton(
|
||||||
|
height: 50,
|
||||||
|
minWidth: double.infinity,
|
||||||
|
color: Color(0xff12C193),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (_) => businessaddedsuccess(),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
'Save',
|
||||||
|
style: TextStyle(color: Colors.white, fontSize: 15),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
64
openclosenew/lib/businessaddedsuccess.dart
Normal file
64
openclosenew/lib/businessaddedsuccess.dart
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'businessempty.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: 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,
|
||||||
|
MaterialPageRoute(builder: (_) => businessempty()));
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
'Let’s Explore',
|
||||||
|
style: TextStyle(color: Colors.white, fontSize: 15),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
71
openclosenew/lib/businessempty.dart
Normal file
71
openclosenew/lib/businessempty.dart
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class businessempty extends StatefulWidget {
|
||||||
|
const businessempty({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<businessempty> createState() => _businessemptyState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _businessemptyState extends State<businessempty> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
backgroundColor: Colors.white,
|
||||||
|
body: SafeArea(
|
||||||
|
child: Row(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
height: 50,
|
||||||
|
width: 50,
|
||||||
|
margin: EdgeInsets.all(20),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.circular(50),
|
||||||
|
color: Colors.grey,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
height: 25,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
'Hi, Sudharsan',
|
||||||
|
style: TextStyle(
|
||||||
|
color: Colors.black,
|
||||||
|
fontSize: 16,
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
'Mon, 02 May 2022',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 11,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 20),
|
||||||
|
child: IconButton(
|
||||||
|
icon: Image.asset('assets/images/bell.png'),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:openclosenew/07_addbusiness.dart';
|
import 'package:openclosenew/07_addbusiness.dart';
|
||||||
|
|
||||||
|
import 'businessempty.dart';
|
||||||
|
|
||||||
class business extends StatefulWidget {
|
class business extends StatefulWidget {
|
||||||
const business({Key? key}) : super(key: key);
|
const business({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@ -31,7 +33,10 @@ class _businessState extends State<business> {
|
|||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24),
|
padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24),
|
||||||
child: TextButton(
|
child: TextButton(
|
||||||
onPressed: () {},
|
onPressed: () {
|
||||||
|
Navigator.push(context,
|
||||||
|
MaterialPageRoute(builder: (_) => businessempty()));
|
||||||
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
"Skip",
|
"Skip",
|
||||||
style: TextStyle(color: Colors.grey.shade600),
|
style: TextStyle(color: Colors.grey.shade600),
|
||||||
|
@ -57,13 +57,6 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.15.0"
|
version: "1.15.0"
|
||||||
cross_file:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: cross_file
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "0.3.3"
|
|
||||||
crypto:
|
crypto:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -125,13 +118,13 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.1"
|
version: "1.0.1"
|
||||||
flutter_plugin_android_lifecycle:
|
flutter_screenutil:
|
||||||
dependency: transitive
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_plugin_android_lifecycle
|
name: flutter_screenutil
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.5"
|
version: "5.5.2"
|
||||||
flutter_test:
|
flutter_test:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description: flutter
|
description: flutter
|
||||||
@ -177,41 +170,6 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.3"
|
version: "3.1.3"
|
||||||
image_picker:
|
|
||||||
dependency: "direct main"
|
|
||||||
description:
|
|
||||||
name: image_picker
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "0.8.5"
|
|
||||||
image_picker_android:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: image_picker_android
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "0.8.4+11"
|
|
||||||
image_picker_for_web:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: image_picker_for_web
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "2.1.6"
|
|
||||||
image_picker_ios:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: image_picker_ios
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "0.8.5"
|
|
||||||
image_picker_platform_interface:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: image_picker_platform_interface
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "2.4.4"
|
|
||||||
intl_phone_number_input:
|
intl_phone_number_input:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -37,7 +37,10 @@ dependencies:
|
|||||||
shared_preferences: ^2.0.11
|
shared_preferences: ^2.0.11
|
||||||
intl_phone_number_input: ^0.7.0+2
|
intl_phone_number_input: ^0.7.0+2
|
||||||
get: ^4.5.1
|
get: ^4.5.1
|
||||||
image_picker: ^0.8.5
|
flutter_screenutil: ^5.5.2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user