24 add photos design completed
This commit is contained in:
parent
9d45a4c28e
commit
fea1032a9e
BIN
openclosenew/assets/images/services_1.png
Normal file
BIN
openclosenew/assets/images/services_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
BIN
openclosenew/assets/images/services_2.png
Normal file
BIN
openclosenew/assets/images/services_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
openclosenew/assets/images/services_3.png
Normal file
BIN
openclosenew/assets/images/services_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 628 KiB |
@ -6,6 +6,7 @@ import 'package:openclosenew/22-AddService.dart';
|
|||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
|
||||||
import '18-AddProductFrom.dart';
|
import '18-AddProductFrom.dart';
|
||||||
|
import '24_addphotos.dart';
|
||||||
import 'FontFamily.dart';
|
import 'FontFamily.dart';
|
||||||
import 'fontsize.dart';
|
import 'fontsize.dart';
|
||||||
|
|
||||||
@ -393,7 +394,8 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.push(context,
|
||||||
|
MaterialPageRoute(builder: (_) => addphotos()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: EdgeInsets.all(10),
|
padding: EdgeInsets.all(10),
|
||||||
|
@ -110,7 +110,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
children: [
|
children: [
|
||||||
Image(
|
Image(
|
||||||
image: AssetImage(
|
image: AssetImage(
|
||||||
'assets/images/Chicken_Briyani.png'),
|
'assets/images/services_1.png'),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
@ -122,7 +122,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
CrossAxisAlignment.start,
|
CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'Chicken Briyani',
|
'Service Name',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
@ -135,7 +135,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
height: 5,
|
height: 5,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'₹ 180.00',
|
'₹ 180.00 - 600.00',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
@ -231,7 +231,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
children: [
|
children: [
|
||||||
Image(
|
Image(
|
||||||
image: AssetImage(
|
image: AssetImage(
|
||||||
'assets/images/MuttonBriyani.png'),
|
'assets/images/services_2.png'),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
@ -243,7 +243,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
CrossAxisAlignment.start,
|
CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'Mutton Briyani',
|
'Service Name',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
@ -256,7 +256,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
height: 5,
|
height: 5,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'₹ 270.00',
|
'₹ 180.00 - 600.00',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
@ -352,7 +352,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
children: [
|
children: [
|
||||||
Image(
|
Image(
|
||||||
image: AssetImage(
|
image: AssetImage(
|
||||||
'assets/images/GrilledChicken.png'),
|
'assets/images/services_3.png'),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
@ -364,7 +364,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
CrossAxisAlignment.start,
|
CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'Chicken Briyani',
|
'Service Name',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
@ -377,7 +377,7 @@ class _serviceslistingState extends State<serviceslisting>
|
|||||||
height: 5,
|
height: 5,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'₹ 180.00',
|
'₹ 180.00 - 600.00',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
|
158
openclosenew/lib/24_addphotos.dart
Normal file
158
openclosenew/lib/24_addphotos.dart
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:dotted_border/dotted_border.dart';
|
||||||
|
|
||||||
|
import '11_busiesshome.dart';
|
||||||
|
import '25-addphotos1.dart';
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'colors.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
|
class addphotos extends StatefulWidget {
|
||||||
|
const addphotos({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<addphotos> createState() => _addphtosState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _addphtosState extends State<addphotos> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
backgroundColor: Colors.white,
|
||||||
|
body: SafeArea(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 20, right: 15, top: 10),
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Icon(
|
||||||
|
Icons.arrow_back,
|
||||||
|
color: DarkGray,
|
||||||
|
size: 24,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(width: 20),
|
||||||
|
Text(
|
||||||
|
'Services',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: Font,
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: HeadText,
|
||||||
|
color: DarkGray,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {},
|
||||||
|
child: Icon(
|
||||||
|
Icons.add,
|
||||||
|
color: DarkGray,
|
||||||
|
size: 24,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: DottedBorder(
|
||||||
|
dashPattern: [5, 5, 5, 5],
|
||||||
|
color: primaryColor,
|
||||||
|
padding: EdgeInsets.all(5),
|
||||||
|
radius: Radius.circular(6),
|
||||||
|
child: Container(
|
||||||
|
height: 100,
|
||||||
|
width: 330,
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Image(
|
||||||
|
image:
|
||||||
|
AssetImage('assets/images/gallery-icon.png'),
|
||||||
|
color: primaryColor,
|
||||||
|
width: 30,
|
||||||
|
height: 30,
|
||||||
|
),
|
||||||
|
SizedBox(width: 10),
|
||||||
|
Text(
|
||||||
|
'Upload Photos',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: Font,
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w400,
|
||||||
|
fontSize: HeadText,
|
||||||
|
color: primaryColor,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(bottom: 24),
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
Expanded(
|
||||||
|
child: MaterialButton(
|
||||||
|
height: 50,
|
||||||
|
minWidth: double.infinity,
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(4)),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
"Cancel",
|
||||||
|
style: TextStyle(
|
||||||
|
color: Gray,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
child: MaterialButton(
|
||||||
|
height: 50,
|
||||||
|
minWidth: double.infinity,
|
||||||
|
color: primaryColor,
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(4)),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.push(context,
|
||||||
|
MaterialPageRoute(builder: (_) => addphotos1()));
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
'Save',
|
||||||
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
54
openclosenew/lib/25-addphotos1.dart
Normal file
54
openclosenew/lib/25-addphotos1.dart
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:image_picker/image_picker.dart';
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'colors.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
|
class addphotos1 extends StatefulWidget {
|
||||||
|
const addphotos1({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<addphotos1> createState() => _addphotos1State();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _addphotos1State extends State<addphotos1> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
body: SafeArea(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 20, right: 15, top: 10),
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Icon(
|
||||||
|
Icons.arrow_back,
|
||||||
|
color: DarkGray,
|
||||||
|
size: 24,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(width: 20),
|
||||||
|
Text(
|
||||||
|
'Add Photos',
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: Font,
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: HeadText,
|
||||||
|
color: DarkGray,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -192,7 +192,7 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.3"
|
version: "3.1.3"
|
||||||
image_picker:
|
image_picker:
|
||||||
dependency: transitive
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: image_picker
|
name: image_picker
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
|
@ -32,6 +32,7 @@ dependencies:
|
|||||||
snippet_coder_utils: ^1.0.8
|
snippet_coder_utils: ^1.0.8
|
||||||
dotted_border: ^2.0.0+2
|
dotted_border: ^2.0.0+2
|
||||||
flutter_switch: ^0.3.2
|
flutter_switch: ^0.3.2
|
||||||
|
image_picker: ^0.8.5+3
|
||||||
|
|
||||||
|
|
||||||
# The following adds the Cupertino Icons fonts to your application.
|
# The following adds the Cupertino Icons fonts to your application.
|
||||||
@ -46,6 +47,7 @@ dependencies:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
@ -53,6 +55,7 @@ dev_dependencies:
|
|||||||
flutter_native_splash: ^2.1.6
|
flutter_native_splash: ^2.1.6
|
||||||
flutter_otp_text_field: ^1.0.0
|
flutter_otp_text_field: ^1.0.0
|
||||||
|
|
||||||
|
|
||||||
flutter_native_splash:
|
flutter_native_splash:
|
||||||
background_image: "assets/images/img.png"
|
background_image: "assets/images/img.png"
|
||||||
backgroung_color: whight
|
backgroung_color: whight
|
||||||
|
Loading…
Reference in New Issue
Block a user