2022-05-17 07:00:55 +00:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_switch/flutter_switch.dart';
|
2022-05-25 08:51:11 +00:00
|
|
|
import 'package:openclosenew/14_businessdetailsempty.dart';
|
2022-05-22 19:34:45 +00:00
|
|
|
import 'package:smooth_page_indicator/smooth_page_indicator.dart';
|
2022-05-21 18:43:07 +00:00
|
|
|
|
2022-05-31 13:48:18 +00:00
|
|
|
import 'colors.dart';
|
|
|
|
|
2022-05-17 07:00:55 +00:00
|
|
|
class businessdetail extends StatefulWidget {
|
|
|
|
const businessdetail({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
State<businessdetail> createState() => _businessdetailState();
|
|
|
|
}
|
|
|
|
|
2022-05-26 07:00:04 +00:00
|
|
|
class _businessdetailState extends State<businessdetail> {
|
2022-05-25 08:51:11 +00:00
|
|
|
bool status = true;
|
2022-05-21 18:43:07 +00:00
|
|
|
int pageIndex = 0;
|
2022-05-22 19:34:45 +00:00
|
|
|
final _Controller = PageController();
|
2022-05-17 07:00:55 +00:00
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2022-05-25 08:51:11 +00:00
|
|
|
return Scaffold(
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
body: SafeArea(
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
height: 400,
|
|
|
|
child: Stack(
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
height: 250,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
image: AssetImage('assets/images/bg.png'),
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
),
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
bottomLeft: Radius.circular(20),
|
|
|
|
bottomRight: Radius.circular(20),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (status == false)
|
2022-05-23 06:41:12 +00:00
|
|
|
Container(
|
|
|
|
height: 250,
|
|
|
|
decoration: BoxDecoration(
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Colors.grey.withOpacity(0.6),
|
2022-05-23 06:41:12 +00:00
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
bottomLeft: Radius.circular(20),
|
|
|
|
bottomRight: Radius.circular(20),
|
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
2022-05-26 07:00:04 +00:00
|
|
|
padding:
|
|
|
|
EdgeInsets.only(bottom: 300, left: 10, right: 10),
|
2022-05-25 08:51:11 +00:00
|
|
|
child: Row(
|
|
|
|
children: [
|
|
|
|
FloatingActionButton(
|
|
|
|
child: Icon(
|
|
|
|
Icons.arrow_back,
|
|
|
|
size: 24,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
mini: true,
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
FlutterSwitch(
|
|
|
|
width: 107,
|
|
|
|
height: 50,
|
|
|
|
valueFontSize: 12,
|
|
|
|
toggleSize: 20,
|
|
|
|
value: status,
|
|
|
|
borderRadius: 30.0,
|
|
|
|
padding: 5,
|
|
|
|
showOnOff: true,
|
|
|
|
onToggle: (val) {
|
|
|
|
setState(() {
|
|
|
|
status = val;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
activeText: "OPEN",
|
|
|
|
activeSwitchBorder:
|
|
|
|
Border.all(color: Colors.white, width: 10),
|
|
|
|
inactiveSwitchBorder:
|
|
|
|
Border.all(color: Colors.white, width: 10),
|
|
|
|
activeTextColor: Colors.white,
|
|
|
|
activeTextFontWeight: FontWeight.w600,
|
|
|
|
activeColor: Color(0xFF09CD99),
|
|
|
|
inactiveText: "CLOSED",
|
|
|
|
inactiveTextColor: Colors.white,
|
|
|
|
inactiveTextFontWeight: FontWeight.w600,
|
|
|
|
inactiveColor: Color(0xFFFF4B4C),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Align(
|
|
|
|
alignment: Alignment.center,
|
|
|
|
child: Container(
|
|
|
|
margin: EdgeInsets.only(right: 20, left: 20, top: 150),
|
|
|
|
padding: EdgeInsets.all(12),
|
|
|
|
height: 270,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
|
|
|
),
|
|
|
|
boxShadow: [
|
|
|
|
BoxShadow(
|
|
|
|
color: Colors.grey.shade500,
|
2022-05-31 13:48:18 +00:00
|
|
|
offset: Offset(4.0, 5.0),
|
|
|
|
blurRadius: 5.0,
|
2022-05-25 08:51:11 +00:00
|
|
|
spreadRadius: 1.0,
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2022-05-23 06:41:12 +00:00
|
|
|
foregroundDecoration: BoxDecoration(
|
2022-05-25 08:51:11 +00:00
|
|
|
color: status ? null : Colors.white,
|
2022-05-23 06:41:12 +00:00
|
|
|
backgroundBlendMode:
|
|
|
|
status ? null : BlendMode.saturation,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Image.asset(
|
|
|
|
'assets/images/store_logo.png',
|
|
|
|
width: 60,
|
|
|
|
height: 60,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
Padding(
|
|
|
|
padding:
|
2022-05-26 07:00:04 +00:00
|
|
|
const EdgeInsets.only(top: 8, left: 5),
|
2022-05-22 19:34:45 +00:00
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: [
|
2022-05-25 08:51:11 +00:00
|
|
|
RichText(
|
|
|
|
text: TextSpan(
|
|
|
|
text: "Barbeque Nation ",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
2022-05-26 07:00:04 +00:00
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
RichText(
|
|
|
|
text: TextSpan(
|
|
|
|
children: [
|
|
|
|
TextSpan(
|
|
|
|
text: "4.2 ",
|
|
|
|
style: TextStyle(
|
2022-05-23 06:41:12 +00:00
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
2022-05-25 08:51:11 +00:00
|
|
|
fontSize: 15,
|
|
|
|
color: Color(0xFFFFBE3F),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
WidgetSpan(
|
|
|
|
child: Icon(
|
|
|
|
Icons.star,
|
|
|
|
color: Color(0xFFFFBE3F),
|
|
|
|
size: 15,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
IconButton(
|
|
|
|
icon: Image.asset(
|
|
|
|
'assets/images/edit_pen.png',
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.push(
|
|
|
|
context,
|
|
|
|
MaterialPageRoute(
|
|
|
|
builder: (_) =>
|
|
|
|
businessdetailsempty()));
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Align(
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
child: Padding(
|
2022-05-26 07:00:04 +00:00
|
|
|
padding:
|
|
|
|
const EdgeInsets.only(left: 10, top: 5),
|
2022-05-25 08:51:11 +00:00
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
Image.asset(
|
|
|
|
'assets/images/veg_logo.png',
|
|
|
|
width: 20,
|
|
|
|
height: 20,
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
width: 12,
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
'Veg',
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 13,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
width: 10,
|
|
|
|
),
|
|
|
|
Image.asset(
|
|
|
|
'assets/images/nonveg_icon.png',
|
|
|
|
width: 20,
|
|
|
|
height: 20,
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
width: 12,
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
'Non-Veg',
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 13,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding:
|
|
|
|
const EdgeInsets.only(top: 10),
|
|
|
|
child: RichText(
|
|
|
|
text: TextSpan(
|
|
|
|
children: [
|
|
|
|
WidgetSpan(
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/images/call_icon.png',
|
|
|
|
width: 25,
|
|
|
|
height: 25,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
TextSpan(
|
|
|
|
text:
|
|
|
|
" +91 98651 76796, +91 76786 85869",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-19 19:49:37 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(top: 10),
|
|
|
|
child: RichText(
|
|
|
|
text: TextSpan(
|
|
|
|
children: [
|
|
|
|
WidgetSpan(
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/images/loc_logo.png',
|
|
|
|
width: 25,
|
|
|
|
height: 25,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
TextSpan(
|
|
|
|
text:
|
|
|
|
" 112, Avinashi Road, Peelamedu, Coimbatore...",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(top: 10),
|
|
|
|
child: RichText(
|
|
|
|
text: TextSpan(
|
|
|
|
children: [
|
|
|
|
WidgetSpan(
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/images/glob_icon.png',
|
|
|
|
width: 25,
|
|
|
|
height: 25,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
TextSpan(
|
|
|
|
text: " www.bbqnation.com",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(top: 10),
|
|
|
|
child: RichText(
|
|
|
|
text: TextSpan(
|
|
|
|
children: [
|
|
|
|
WidgetSpan(
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/images/clock_icon.png',
|
|
|
|
width: 25,
|
|
|
|
height: 25,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
TextSpan(
|
|
|
|
text:
|
|
|
|
" Working Hours: Mon - Fri 9:00am to 9:00pm",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-19 19:49:37 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-17 07:00:55 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Container(
|
|
|
|
height: 100,
|
|
|
|
child: ListView(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding:
|
|
|
|
const EdgeInsets.only(left: 22, right: 10, top: 20),
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {},
|
|
|
|
child: Container(
|
|
|
|
width: 350,
|
|
|
|
margin: EdgeInsets.only(right: 10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/offer.png',
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
scale: 2,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.white,
|
|
|
|
backgroundBlendMode:
|
|
|
|
status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 80),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"WELCOME OFFER !",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"Get 50% discount on your first order",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding:
|
|
|
|
const EdgeInsets.only(left: 22, right: 10, top: 20),
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {},
|
|
|
|
child: Container(
|
|
|
|
width: 350,
|
|
|
|
margin: EdgeInsets.only(right: 10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/offer.png',
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
scale: 2,
|
|
|
|
),
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.white,
|
|
|
|
backgroundBlendMode:
|
|
|
|
status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 80),
|
2022-05-22 19:34:45 +00:00
|
|
|
child: Column(
|
2022-05-25 08:51:11 +00:00
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
2022-05-22 19:34:45 +00:00
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
2022-05-25 08:51:11 +00:00
|
|
|
"WELCOME OFFER !",
|
2022-05-22 19:34:45 +00:00
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
2022-05-25 08:51:11 +00:00
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
2022-05-25 08:51:11 +00:00
|
|
|
"Get 50% discount on your first order",
|
2022-05-22 19:34:45 +00:00
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
2022-05-25 08:51:11 +00:00
|
|
|
fontWeight: FontWeight.w400,
|
2022-05-22 19:34:45 +00:00
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SmoothPageIndicator(
|
|
|
|
controller: _Controller, // PageController
|
|
|
|
count: 3,
|
|
|
|
effect: ExpandingDotsEffect(
|
|
|
|
activeDotColor: status ? Color(0xFF2AB17F) : Colors.grey,
|
|
|
|
dotColor: status ? Colors.greenAccent : Colors.grey,
|
|
|
|
dotWidth: 5,
|
|
|
|
dotHeight: 5),
|
|
|
|
// your preferred effect
|
|
|
|
onDotClicked: (index) {},
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
left: 15, right: 15, top: 5, bottom: 10),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Food Items",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
IconButton(
|
|
|
|
icon: Image.asset('assets/images/arrow-right.png'),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.grey,
|
|
|
|
backgroundBlendMode: status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
height: 150,
|
|
|
|
child: ListView(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
children: [
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/food1.png',
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(right: 16),
|
|
|
|
child: Column(
|
2022-05-22 19:34:45 +00:00
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
2022-05-25 08:51:11 +00:00
|
|
|
"Chicken Briyani",
|
2022-05-22 19:34:45 +00:00
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
2022-05-25 08:51:11 +00:00
|
|
|
"₹ 180.00",
|
2022-05-22 19:34:45 +00:00
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/food2.png',
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Chicken Pepper...",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
Text(
|
|
|
|
"₹ 360.00",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
2022-05-20 07:03:05 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/food3.png',
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 20),
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Malai Kofta",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
Text(
|
|
|
|
"₹ 280.00",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
],
|
2022-05-21 18:43:07 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
left: 15, right: 15, top: 5, bottom: 10),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Photos",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
IconButton(
|
|
|
|
icon: Image.asset('assets/images/arrow-right.png'),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.grey,
|
|
|
|
backgroundBlendMode: status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
height: 100,
|
|
|
|
child: ListView(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
children: [
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/room1.png',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/room2.png',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/room3.png',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
left: 15, right: 15, bottom: 10, top: 10),
|
|
|
|
child: Row(
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Services",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
IconButton(
|
|
|
|
icon: Image.asset('assets/images/arrow-right.png'),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Container(
|
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.grey,
|
|
|
|
backgroundBlendMode: status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
height: 150,
|
|
|
|
child: ListView(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
children: [
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
2022-05-22 19:34:45 +00:00
|
|
|
child: Container(
|
2022-05-25 08:51:11 +00:00
|
|
|
width: 130,
|
|
|
|
height: 100,
|
2022-05-22 19:34:45 +00:00
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
2022-05-25 08:51:11 +00:00
|
|
|
fit: BoxFit.cover,
|
2022-05-22 19:34:45 +00:00
|
|
|
image: AssetImage(
|
2022-05-25 08:51:11 +00:00
|
|
|
'assets/images/services_img1.png',
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(right: 16),
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Buffet",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"₹ 480.00 - 890.00",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
|
|
|
child: Container(
|
|
|
|
width: 130,
|
|
|
|
height: 100,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/services_img2.png',
|
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Bar",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"₹ 200.00 (Starts from)",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15),
|
2022-05-22 19:34:45 +00:00
|
|
|
child: Container(
|
2022-05-25 08:51:11 +00:00
|
|
|
width: 130,
|
|
|
|
height: 100,
|
2022-05-22 19:34:45 +00:00
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
2022-05-25 08:51:11 +00:00
|
|
|
fit: BoxFit.cover,
|
2022-05-22 19:34:45 +00:00
|
|
|
image: AssetImage(
|
2022-05-25 08:51:11 +00:00
|
|
|
'assets/images/services_img3.png',
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius:
|
|
|
|
BorderRadius.all(Radius.circular(5)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 20),
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Cafe Club",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
Text(
|
|
|
|
"₹ 280.00",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 12,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
left: 15, right: 15, top: 5, bottom: 10),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Offers",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
IconButton(
|
|
|
|
icon: Image.asset('assets/images/arrow-right.png'),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.white,
|
|
|
|
backgroundBlendMode: status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
height: 100,
|
|
|
|
child: ListView(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 22, right: 10),
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {},
|
|
|
|
child: Container(
|
|
|
|
width: 350,
|
|
|
|
margin: EdgeInsets.only(right: 10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/offer.png',
|
|
|
|
),
|
|
|
|
scale: 2,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 80),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"WELCOME OFFER !",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"Get 50% discount on your first order",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2022-05-21 18:43:07 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 22),
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {},
|
|
|
|
child: Container(
|
|
|
|
width: 350,
|
|
|
|
margin: EdgeInsets.only(right: 10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/offer.png',
|
|
|
|
),
|
|
|
|
scale: 2,
|
|
|
|
),
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 80),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"WELCOME OFFER !",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"Get 50% discount on your first order",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
left: 15, right: 15, top: 5, bottom: 10),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"Coupons",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: DarkGray,
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
IconButton(
|
|
|
|
icon: Image.asset('assets/images/arrow-right.png'),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Container(
|
|
|
|
foregroundDecoration: BoxDecoration(
|
|
|
|
color: status ? null : Colors.grey,
|
|
|
|
backgroundBlendMode: status ? null : BlendMode.saturation,
|
|
|
|
),
|
|
|
|
height: 100,
|
|
|
|
child: ListView(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 22, right: 10),
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {},
|
|
|
|
child: Container(
|
|
|
|
width: 350,
|
|
|
|
margin: EdgeInsets.only(right: 10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/Ticket.png',
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
scale: 2.5,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 80),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"FEST500",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15),
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/images/ticket1.png',
|
|
|
|
width: 25,
|
|
|
|
height: 25,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"Get 50% discount on festival offer",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 22, right: 10),
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {},
|
|
|
|
child: Container(
|
|
|
|
width: 350,
|
|
|
|
margin: EdgeInsets.only(right: 10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: const DecorationImage(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
image: AssetImage(
|
|
|
|
'assets/images/Ticket.png',
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
scale: 2.5,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(10),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 80),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
"FEST500",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontSize: 20,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: primaryColor,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 15),
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/images/ticket1.png',
|
|
|
|
width: 25,
|
|
|
|
height: 25,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"Get 50% discount on festival offer",
|
|
|
|
style: TextStyle(
|
|
|
|
fontFamily: 'Manrope',
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
fontSize: 15,
|
2022-05-31 13:48:18 +00:00
|
|
|
color: Gray,
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-23 06:41:12 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-21 18:43:07 +00:00
|
|
|
),
|
2022-05-25 08:51:11 +00:00
|
|
|
),
|
|
|
|
],
|
2022-05-21 18:43:07 +00:00
|
|
|
),
|
2022-05-22 19:34:45 +00:00
|
|
|
),
|
2022-05-17 07:00:55 +00:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|