From a0a6ba38600815324460b59e0cc94a562896d09b Mon Sep 17 00:00:00 2001 From: vignesh Date: Mon, 23 May 2022 12:11:12 +0530 Subject: [PATCH] business details design completed --- openclosenew/assets/images/Ticket.png | Bin 0 -> 4496 bytes openclosenew/assets/images/ticket1.png | Bin 0 -> 1126 bytes openclosenew/lib/11_busiesshome.dart | 20 - openclosenew/lib/businessdetail.dart | 1970 ++++++++++++++---------- openclosenew/pubspec.lock | 18 +- 5 files changed, 1179 insertions(+), 829 deletions(-) create mode 100644 openclosenew/assets/images/Ticket.png create mode 100644 openclosenew/assets/images/ticket1.png diff --git a/openclosenew/assets/images/Ticket.png b/openclosenew/assets/images/Ticket.png new file mode 100644 index 0000000000000000000000000000000000000000..20703ea21780549b23320d7bcc1e4964012a450d GIT binary patch literal 4496 zcmV;B5pV8^P)@~0drDELIAGL9O(c600d`2O+f$vv5yP3E_dIXr z%(>^DpG1*JBr>QZ6bYX8(R9!59rTj;_C-qRN}ABZ3en7k*<_glCkj~Lj6R>fB!p^O zeC_G^)$%Q(BcTh~Fhzpoq36@Fp$@%D9U8AVq`i&kb@A^J3Ye(D0wY@v@1R$N#(J6c zf`pDQy`8*9ff5BQAP!EZmPwb?I9=t}E4?OT{ju26u)B{Bf^Po~*&C!Y3k(nZ*2 ztI&8v$0N zY%)y&5e2M99{z25G#L__#$Y+zdpFU4E-4NY2LG*;4u|9$i%Vn;Y%tl-V8rh!z|LS){@0}vLbyNPj zv_li;-$~{u0HT0-!pNspuyZ%jFP(M9r8}T~87W?SWih~;Vjm0HWlgy`;2qQkFqohfRBOnlkvK24i4j#LIkIE`WxB4W|;YR<3d9sb->pDahi79bz~I zHgl+04o!@B4%dYC`d}{CVxbZROhMAh>=!MdtsW6Z{9SjGS9F9cZ8hVrhyo@7J4Mpi zCAv1^Wh{QIp}A68I6vD=Y%&U%gw85mX$|p?#g6Wg$Nepb-C${4`j~leN+()3&HQvO zhyo^IWQCSH!*oTqYlJ|J|I(ik-;ckld|w4A(bV}<$w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ww)SBgx6fj^%RIAkk+`ER|f$a#_rpgEiD*a>H*xUE__v?efU@R$M zcXzihQ4)w|Srkw%mm9VXJ>N{L@dP@gE&rXM30I4NO|y*Nzf5r0$D-HkvGK>2c|(N& zpk|dvk`0Wka!rK*c-_ddhY^t4(6?YehodzDJ`D;2B;R7V+CQ7*3UyIL5GwmvE-&#JCAo2Wr3Zw{EgIcPL&`$E zJ_SrHrTa2xKoe--GK|z`7P2H@l8A?ghvqy-LmUB99}qNtm=X1s(_*42Qe6^7Ond+< z33@(m$d4#!K;%%{(qi5_=y8fD4bvWy;CbG9AZW}T69O_KV0MF!7@8_Bp9>0Z2e&^& z0cBQdpV+YR5HOob%UG9y5 zz$GYc0TWB$NM7rAYoY)W5D9V^j7SDR$7`0gf-w>hnOkr|nGi7TRmT=u=T?v89C;(a z9!29^5dgokX_;st-s#(RM3`N*{D7<=II3skBg<$Q?<@oX*yg(S zGC6C5MKIK6!W8cpWd!V@Q4Q08#?SgK)90p}yu7Ufl--(VXJCc$d=SN6Kyr?P0LeKD0wm`s2#}nkAV6{s z5)g@zu}{v#>n+^Rn`NzhV-nz-2Am5tBm-b(idp7{M-)H;t}NSEt%Jz-BFG7dyxjo; z2BH8GVE?fLvG7Pz0tHOw1lV@w4v7LLx)C%rR@kt<8-R#!NgkBGC17I9+ZF{(^Z+!p zjf$@&dUE2TC+a&pJ0r|T9#pEG88RUPJ-h}{!?UwgOaW7+?(l}nDlUD=7N+m_i4vx9 zK=39dv%E8LIvfg^+EcJ%7H)5Ef3L2t{=|^{qMaQ17C7gjE__kOO!1r!33IZ8 s4>L1JhUU`9QAerz>hA8Yn`C;i_@% literal 0 HcmV?d00001 diff --git a/openclosenew/lib/11_busiesshome.dart b/openclosenew/lib/11_busiesshome.dart index 413e0b2..69b4860 100644 --- a/openclosenew/lib/11_busiesshome.dart +++ b/openclosenew/lib/11_busiesshome.dart @@ -17,26 +17,6 @@ class _businesshomeState extends State { bool status2 = true; int _selectedIndex = 0; - static const TextStyle optionStyle = TextStyle( - fontFamily: 'Manrope', - fontSize: 10, - fontWeight: FontWeight.w400, - fontStyle: FontStyle.normal, - ); - static const List _widgetOptions = [ - Text( - 'Index 0: Home', - style: optionStyle, - ), - Text( - 'Index 1: Business', - style: optionStyle, - ), - Text( - 'Index 2: School', - style: optionStyle, - ), - ]; void _onItemTapped(int index) { setState(() { diff --git a/openclosenew/lib/businessdetail.dart b/openclosenew/lib/businessdetail.dart index 01842f6..13ee12b 100644 --- a/openclosenew/lib/businessdetail.dart +++ b/openclosenew/lib/businessdetail.dart @@ -1,6 +1,5 @@ import 'package:flutter/material.dart'; import 'package:flutter_switch/flutter_switch.dart'; -import 'package:openclosenew/thankyou.dart'; import 'package:smooth_page_indicator/smooth_page_indicator.dart'; class businessdetail extends StatefulWidget { @@ -12,838 +11,1209 @@ class businessdetail extends StatefulWidget { class _businessdetailState extends State with TickerProviderStateMixin { - bool status = true; + bool status = false; int pageIndex = 0; + int _selectedIndex = 0; + void _onItemTapped(int index) { + setState(() { + _selectedIndex = index; + }); + } + final _Controller = PageController(); + Color _textColor = Colors.black; + Color _appBarColor = Color.fromRGBO(36, 41, 46, 1); + Color _scaffoldBgcolor = Colors.white; + @override Widget build(BuildContext context) { TabController _tabController = TabController(length: 4, vsync: this); - return Scaffold( - backgroundColor: Colors.white, - body: SafeArea( - child: SingleChildScrollView( - child: Column( - children: [ - Container( - height: 500, - 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), - ), - ), - child: Padding( - padding: const EdgeInsets.only( - left: 10, right: 10, bottom: 120), - child: Row( - children: [ - FloatingActionButton( - child: Icon( - Icons.arrow_back, - size: 24, - color: Color(0xFF3D3D3D), - ), - 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), - ), - ], - ), - ), - ), - Spacer(), - Align( - alignment: Alignment.center, - child: Container( - margin: EdgeInsets.only(right: 20, left: 20, top: 60), - padding: EdgeInsets.all(12), - height: 270, + return Theme( + data: ThemeData( + textTheme: TextTheme( + bodyText1: TextStyle(color: _textColor), + bodyText2: TextStyle(color: _textColor), + ), + ), + child: Scaffold( + backgroundColor: Colors.white, + body: SafeArea( + child: SingleChildScrollView( + child: Column( + children: [ + Container( + height: 400, + foregroundDecoration: BoxDecoration( + color: status ? null : Colors.grey, + backgroundBlendMode: status ? null : BlendMode.saturation, + ), + child: Stack( + children: [ + Container( + height: 250, decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.all( - Radius.circular(10), + image: const DecorationImage( + image: AssetImage('assets/images/bg.png'), + fit: BoxFit.cover, + ), + borderRadius: BorderRadius.only( + bottomLeft: Radius.circular(20), + bottomRight: Radius.circular(20), ), - boxShadow: [ - BoxShadow( - color: Colors.grey.shade500, - offset: Offset(4.0, 4.0), - blurRadius: 10.0, - spreadRadius: 1.0, - ), - ], ), - child: Column( - children: [ - Row( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Image.asset( - 'assets/images/store_logo.png', - width: 60, - height: 60, + foregroundDecoration: BoxDecoration( + color: status ? null : Colors.grey, + backgroundBlendMode: + status ? null : BlendMode.saturation, + ), + child: Padding( + padding: const EdgeInsets.only( + left: 10, right: 10, bottom: 120), + child: Row( + children: [ + FloatingActionButton( + child: Icon( + Icons.arrow_back, + size: 24, + color: Color(0xFF3D3D3D), ), - Padding( - padding: - const EdgeInsets.only(top: 10, left: 5), + 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; + if (val) { + _textColor = Colors.black; + + _scaffoldBgcolor = Colors.white; + } else { + _textColor = Colors.white; + + _scaffoldBgcolor = Colors.grey; + } + }); + }, + 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), + ), + ], + ), + ), + ), + Spacer(), + 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, + offset: Offset(4.0, 4.0), + blurRadius: 10.0, + spreadRadius: 1.0, + ), + ], + ), + foregroundDecoration: BoxDecoration( + color: status ? null : Colors.grey, + backgroundBlendMode: + status ? null : BlendMode.saturation, + ), + child: Column( + children: [ + Row( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Image.asset( + 'assets/images/store_logo.png', + width: 60, + height: 60, + ), + Padding( + padding: + const EdgeInsets.only(top: 10, left: 5), + child: Column( + crossAxisAlignment: + CrossAxisAlignment.start, + children: [ + RichText( + text: TextSpan( + text: "Barbeque Nation ", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w600, + fontSize: 16, + color: Colors.black, + ), + ), + ), + RichText( + text: TextSpan( + children: [ + TextSpan( + text: "4.2 ", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFFFFBE3F), + ), + ), + WidgetSpan( + child: Icon( + Icons.star, + color: Color(0xFFFFBE3F), + size: 15, + ), + ), + ], + ), + ), + ], + ), + ), + Spacer(), + IconButton( + icon: Image.asset( + 'assets/images/edit_pen.png', + color: Colors.black, + ), + onPressed: () { + Navigator.pop(context); + }, + ), + ], + ), + Spacer(), + Align( + alignment: Alignment.topLeft, + child: Padding( + padding: const EdgeInsets.only(left: 10), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - RichText( - text: TextSpan( - text: "Barbeque Nation ", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w600, - fontSize: 16, - color: Colors.black, + Row( + children: [ + Image.asset( + 'assets/images/veg_logo.png', + width: 20, + height: 20, ), - ), - ), - RichText( - text: TextSpan( - children: [ - TextSpan( - text: "4.2 ", - style: TextStyle( + SizedBox( + width: 12, + ), + Text( + 'Veg', + style: TextStyle( fontFamily: 'Manrope', fontStyle: FontStyle.normal, fontWeight: FontWeight.w400, - fontSize: 15, - color: Color(0xFFFFBE3F), + fontSize: 13, + color: Colors.black), + ), + 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, + color: Colors.black), + ), + ], + ), + 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, + ), + ), + TextSpan( + text: + " +91 98651 76796, +91 76786 85869", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: + FontStyle.normal, + fontWeight: + FontWeight.w500, + fontSize: 12, + color: Color(0xFF5C5C5C), + ), + ), + ], ), ), - WidgetSpan( - child: Icon( - Icons.star, - color: Color(0xFFFFBE3F), - size: 15, + ), + ], + ), + 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, + ), ), - ), - ], + TextSpan( + text: + " 112, Avinashi Road, Peelamedu, Coimbatore...", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 12, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + 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, + ), + ), + TextSpan( + text: " www.bbqnation.com", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 12, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + 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, + ), + ), + TextSpan( + text: + " Working Hours: Mon - Fri 9:00am to 9:00pm", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 12, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), ), ), ], ), ), - Spacer(), - IconButton( - icon: Image.asset( - 'assets/images/edit_pen.png', - color: Colors.black, - ), - onPressed: () { - Navigator.pop(context); - }, - ), - ], - ), - Spacer(), - Align( - alignment: Alignment.topLeft, - child: Padding( - padding: const EdgeInsets.only(left: 10), - 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, - ), - ), - 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, - ), - ), - ], - ), - 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, - ), - ), - TextSpan( - text: - " +91 98651 76796, +91 76786 85869", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 12, - color: Color(0xFF5C5C5C), - ), - ), - ], - ), - ), - ), - ], - ), - 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, - ), - ), - TextSpan( - text: - " 112, Avinashi Road, Peelamedu, Coimbatore...", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 12, - color: Color(0xFF5C5C5C), - ), - ), - ], - ), - ), - ), - 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, - ), - ), - TextSpan( - text: " www.bbqnation.com", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 12, - color: Color(0xFF5C5C5C), - ), - ), - ], - ), - ), - ), - 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, - ), - ), - TextSpan( - text: - " Working Hours: Mon - Fri 9:00am to 9:00pm", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 12, - color: Color(0xFF5C5C5C), - ), - ), - ], - ), - ), - ), - ], - ), - ), - ), - ], - ), - ), - ), - ], - ), - ), - Container( - 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, - ), - 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, - color: Color(0xFF09CD99), - ), - ), - Text( - "Get 50% discount on your first order", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w400, - fontSize: 15, - color: Color(0xFF5C5C5C), - ), - ), - ], - ), - ), - ), - ), - ), - Spacer(), - 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, - color: Color(0xFF09CD99), - ), - ), - Text( - "Get 50% discount on your first order", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w400, - fontSize: 15, - color: Color(0xFF5C5C5C), - ), - ), - ], - ), - ), - ), - ), - ), - ], - ), - ), - SmoothPageIndicator( - controller: _Controller, // PageController - count: 3, - effect: ExpandingDotsEffect( - activeDotColor: Color(0xFF2AB17F), - dotColor: Colors.greenAccent, - 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, - color: Color(0xFF3D3D3D), - ), - ), - Spacer(), - IconButton( - icon: Image.asset('assets/images/arrow-right.png'), - onPressed: () { - Navigator.pop(context); - }, - ), - ], - ), - ), - Container( - height: 150, - child: ListView( - scrollDirection: Axis.horizontal, - children: [ - Spacer(), - 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', - ), - ), - borderRadius: - BorderRadius.all(Radius.circular(5)), - ), - ), - ), - Padding( - padding: const EdgeInsets.only(right: 16), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - "Chicken Briyani", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - Text( - "₹ 180.00", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w600, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), ), ], ), ), - ], - ), - Spacer(), - 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', - ), - ), - borderRadius: - BorderRadius.all(Radius.circular(5)), - ), - ), - ), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - "Chicken Pepper...", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - Text( - "₹ 360.00", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w600, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - ], - ), - ], - ), - Spacer(), - 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', - ), - ), - borderRadius: - BorderRadius.all(Radius.circular(5)), - ), - ), - ), - 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, - color: Color(0xFF3D3D3D), - ), - ), - Text( - "₹ 280.00", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w600, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - ], - ), - ), - ], - ), - ], - ), - ), - Padding( - padding: const EdgeInsets.only(left: 15, right: 15, top: 5), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text( - "Photos", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w600, - fontSize: 20, - color: Color(0xFF3D3D3D), ), - ), - Spacer(), - IconButton( - icon: Image.asset('assets/images/arrow-right.png'), - onPressed: () { - Navigator.pop(context); - }, - ), - ], - ), - ), - Container( - height: 150, - child: ListView( - scrollDirection: Axis.horizontal, - children: [ - Spacer(), - 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)), - ), - ), - ), - ], - ), - Spacer(), - 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)), - ), - ), - ), - ], - ), - Spacer(), - 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)), - ), - ), - ), - ], - ), - ], - ), - ), - Padding( - padding: const EdgeInsets.only(left: 15, right: 15, top: 5), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text( - "Services", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w600, - fontSize: 20, - color: Color(0xFF3D3D3D), - ), - ), - Spacer(), - IconButton( - icon: Image.asset('assets/images/arrow-right.png'), - onPressed: () { - Navigator.pop(context); - }, - ), - ], - ), - ), - Align( - alignment: Alignment.centerLeft, - child: TabBar( - controller: _tabController, - labelColor: Color(0xFF3D3D3D), - isScrollable: true, - labelPadding: EdgeInsets.symmetric(horizontal: 25), - indicator: BoxDecoration( - borderRadius: BorderRadius.circular(5), - color: Color(0xFFE4E4E4), + ], ), - tabs: [ - Tab( - child: Text( - "Buffet", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - ), - Tab( - child: Text( - "Bar", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - ), - Tab( - child: Text( - "Car Parking", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - ), - Tab( - child: Text( - "Family Room", - style: TextStyle( - fontFamily: 'Manrope', - fontStyle: FontStyle.normal, - fontWeight: FontWeight.w500, - fontSize: 15, - color: Color(0xFF3D3D3D), - ), - ), - ), - ], ), - ), - ], + Container( + height: 100, + foregroundDecoration: BoxDecoration( + color: status ? null : Colors.grey, + backgroundBlendMode: status ? null : BlendMode.saturation, + ), + 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', + ), + 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, + color: Color(0xFF09CD99), + ), + ), + Text( + "Get 50% discount on your first order", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + ), + ), + Spacer(), + 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', + ), + 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, + color: Color(0xFF09CD99), + ), + ), + Text( + "Get 50% discount on your first order", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + ), + ), + ], + ), + ), + SmoothPageIndicator( + controller: _Controller, // PageController + count: 3, + effect: ExpandingDotsEffect( + activeDotColor: Color(0xFF2AB17F), + dotColor: Colors.greenAccent, + 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, + color: Color(0xFF3D3D3D), + ), + ), + 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: [ + Spacer(), + 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', + ), + ), + borderRadius: + BorderRadius.all(Radius.circular(5)), + ), + ), + ), + Padding( + padding: const EdgeInsets.only(right: 16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Chicken Briyani", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + Text( + "₹ 180.00", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w600, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ], + ), + ), + ], + ), + Spacer(), + 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', + ), + ), + borderRadius: + BorderRadius.all(Radius.circular(5)), + ), + ), + ), + Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Chicken Pepper...", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + Text( + "₹ 360.00", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w600, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ], + ), + ], + ), + Spacer(), + 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', + ), + ), + borderRadius: + BorderRadius.all(Radius.circular(5)), + ), + ), + ), + 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, + color: Color(0xFF3D3D3D), + ), + ), + Text( + "₹ 280.00", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w600, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ], + ), + ), + ], + ), + ], + ), + ), + 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, + color: Color(0xFF3D3D3D), + ), + ), + 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: [ + Spacer(), + 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)), + ), + ), + ), + ], + ), + Spacer(), + 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)), + ), + ), + ), + ], + ), + Spacer(), + 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)), + ), + ), + ), + ], + ), + ], + ), + ), + 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, + color: Color(0xFF3D3D3D), + ), + ), + Spacer(), + IconButton( + icon: Image.asset('assets/images/arrow-right.png'), + onPressed: () { + Navigator.pop(context); + }, + ), + ], + ), + ), + Align( + alignment: Alignment.centerLeft, + child: Padding( + padding: const EdgeInsets.only(left: 10, right: 10), + child: TabBar( + controller: _tabController, + isScrollable: true, + labelPadding: EdgeInsets.symmetric(horizontal: 25), + indicator: BoxDecoration( + borderRadius: BorderRadius.circular(5), + color: Colors.black26, + ), + tabs: [ + Tab( + child: Text( + "Buffet", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ), + Tab( + child: Text( + "Bar", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ), + Tab( + child: Text( + "Car Parking", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ), + Tab( + child: Text( + "Family Room", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 15, + color: Color(0xFF3D3D3D), + ), + ), + ), + ], + ), + ), + ), + 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, + color: Color(0xFF3D3D3D), + ), + ), + 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: [ + 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, + ), + 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, + color: Color(0xFF09CD99), + ), + ), + Text( + "Get 50% discount on your first order", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + ), + ), + Spacer(), + 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, + color: Color(0xFF09CD99), + ), + ), + Text( + "Get 50% discount on your first order", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + ), + ), + ], + ), + ), + 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, + color: Color(0xFF3D3D3D), + ), + ), + 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: [ + 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', + ), + scale: 2.5, + ), + 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, + color: Color(0xFF09CD99), + ), + ), + Padding( + padding: + const EdgeInsets.only(left: 15), + child: Image.asset( + 'assets/images/ticket1.png', + width: 25, + height: 25, + ), + ), + ], + ), + Text( + "Get 50% discount on festival offer", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + ), + ), + Spacer(), + 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', + ), + scale: 2.5, + ), + 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, + color: Color(0xFF09CD99), + ), + ), + Padding( + padding: + const EdgeInsets.only(left: 15), + child: Image.asset( + 'assets/images/ticket1.png', + width: 25, + height: 25, + ), + ), + ], + ), + Text( + "Get 50% discount on festival offer", + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 15, + color: Color(0xFF5C5C5C), + ), + ), + ], + ), + ), + ), + ), + ), + ], + ), + ), + ], + ), ), ), ), diff --git a/openclosenew/pubspec.lock b/openclosenew/pubspec.lock index 24a9538..89e7a34 100644 --- a/openclosenew/pubspec.lock +++ b/openclosenew/pubspec.lock @@ -56,7 +56,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.16.0" + version: "1.15.0" cross_file: dependency: transitive description: @@ -98,7 +98,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.2.0" ffi: dependency: transitive description: @@ -239,7 +239,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.4" + version: "0.6.3" libphonenumber: dependency: transitive description: @@ -288,7 +288,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.4" + version: "0.1.3" meta: dependency: transitive description: @@ -302,7 +302,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.0" path_drawing: dependency: transitive description: @@ -475,7 +475,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.8.1" stack_trace: dependency: transitive description: @@ -510,7 +510,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.9" + version: "0.4.8" typed_data: dependency: transitive description: @@ -531,7 +531,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.1" win32: dependency: transitive description: @@ -561,5 +561,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.17.0-0 <3.0.0" + dart: ">=2.16.2 <3.0.0" flutter: ">=2.10.0-0"