From 3e4fe64b635809c56f8e27a5175b7b6a816e1681 Mon Sep 17 00:00:00 2001 From: vignesh Date: Fri, 13 May 2022 23:40:28 +0530 Subject: [PATCH] Business Empty Screen Business Empty Design Almost Finished (design 10) --- openclosenew/assets/images/bell.png | Bin 0 -> 989 bytes openclosenew/assets/images/pro.png | Bin 0 -> 2023 bytes openclosenew/assets/images/shop.png | Bin 0 -> 1869 bytes openclosenew/lib/07_addbusiness.dart | 50 ++++----- openclosenew/lib/businessaddedsuccess.dart | 4 +- openclosenew/lib/businessempty.dart | 119 +++++++++++++++++++++ openclosenew/lib/businessstart_page.dart | 7 +- openclosenew/pubspec.lock | 39 +++++-- openclosenew/pubspec.yaml | 1 + 9 files changed, 184 insertions(+), 36 deletions(-) create mode 100644 openclosenew/assets/images/bell.png create mode 100644 openclosenew/assets/images/pro.png create mode 100644 openclosenew/assets/images/shop.png create mode 100644 openclosenew/lib/businessempty.dart diff --git a/openclosenew/assets/images/bell.png b/openclosenew/assets/images/bell.png new file mode 100644 index 0000000000000000000000000000000000000000..12536b1a5a65d2f99fe801e62872b687392929bb GIT binary patch literal 989 zcmV<310wv1P) zDsv9pCr^a8;8J;#&-*TSdFOuH`>wzTpryEJD^wu4iAB=D_~>>2GOHw$52FVxEG$I(`ua+C)t;Z9V{&q`*^wqXkr4Fz z!GTU;{gR^OgYXGyp`C;&yCYR?Pgm`->(-dN|V5oy9^iW=K&p-|Xt zn^vW>R?u`@U}gp=6uNJ!@fNhsT_e=Qy5$c~Pfv*sBrI${Kh4hrd}+Gb-QC@c(|l!A80Tw*u%bhbDW4b~Zsrk@XoYT-p*!YEWN~pZ9SjC@d_k3( z7=sIp=1Q=Vnlq}D1c|71HVsM4na46bz-*c@FL6S}PQsN4S|>Y&M`&}S?$z7d+sgg@ zy)~rhD5IH4r|l$!u*;?qyE>2yDdW6a;%)9uWBdXQB-g|LT8V$n)}Ja#O?cN z57sr)o`~4UWVmpSn?>OO^Er>WWKWUaQUrE$e%G6x?Kbxd&C|K2YqV+))iGr+3DMV; z(~v5eZkdvm#^^`NoGDmUJgYCi+1U5pmt-<*8VQdibiGhT7PXmXizNQQCqnRvv$M1E z)YOy?5T|^jd^fGku|X35&;xq@Z-BXK$Y)}5*qfW1;#;%u7wq^C^gh{8jZKG}00000 LNkvXXu0mjfsp`Sw literal 0 HcmV?d00001 diff --git a/openclosenew/assets/images/pro.png b/openclosenew/assets/images/pro.png new file mode 100644 index 0000000000000000000000000000000000000000..f9a37fd0a2e99dbc857f34f8dbcefc7d41937ce0 GIT binary patch literal 2023 zcmV|vt34{=!rTo**_51Fe``(>5)28iAXXfHbZr=3u{haTf|8wtC>VHUq zT0_!WSG*$#0{48yx#X?NCjua%a7W4>_wL=x->IEDcXr@tN6P)5bG;q*nQciCqYeOq zN{@|=rAJ3cL;l7H?T~Z!yd4#j;f#iXulFI*{Qw&Mo|u?O&CSgP2M!!qKQuHnlF4L7 zQmNEPM@Pp9)VUAidFL53rBdlK08K3{ES!7r;K9iqJ9eBrd-g0<+^TtWq-o&(=BvN8 zRUT#bBdJn)Gcz-9J%0T7FZ}PeULD=${g}8O+W zK79C_ZX!YLe?5BiXi=5b-UY52P4=PIcEgJoFK%6H=`Kcm?}ZB&wp!p61Wq>;c%Whx zBH+$z*RH+RD!?xA>FMd$$&ZR9-cZmsc7}YBUcFatC;|8k`PsH@8-b^-#8sW-hNF-w z)oKYR$x(Gz;;RO3R9Zq)c>MVBV!HvhM83$MN;o&QQqpl~;)A-H?WI>r(}2=Wi=*Fg`TWny0~#0@_)|Gm8mK0| zS|_87Yj$=vg*^I;M1jz@L_W#y@bIt!4mDp^WoDe0WL%xJk#==nixDcde>ZK~)UBjY z(M#F3jx!q05^bW(7h6u!)vH(ECI8IRZB^!CO*yKe_wCzfENQKYxB{^`=^j$L_-DVaB69B=UXm;K65Yrlyt%T{hjMEo6}1y{A1U@=qK};`WlD zrC#m6d-v{-+GDzN=gxO@Xo9E0uA_z2HXst*p5?g?W@O+c73vcZjm}bHMa{xVm<;sW<$=Y;Pwf*GDlS$<<0rYgCP@n)KY+A<^Rdmidvi)*Sc}!Ro zICtyTtr8rwqJw5g4iX88t)WBK(8Xf07ahj;wZ}yMfrlZBA=tE!DrQB;I|e%BqTc=c z_iy&O%0hYBM;z#)xS*>dlUbvZa;%3pq39Ub9@72$_x}b416sxX@S34GTDDQ`Hj_6Ui+cG3mH#Xc`H!T9E7O>+?q13j6*si9^J4i1)T#pfhdtWsKOW8~39|3kMip*{3F z_$&y&8SzaWdO6L0IYzy2CE;t&o;@$LtD2K9NOXu1hx`iPX-T-2RW(Mot)w$5#rXR1 z@$pyM4LJEZbm-8l5Z7qwdAeE+dy$KC{A1)3l01-m}2>ez!~cOlqbI3LKg&Hz7r z`0!|}fIBKp$HjEhBqHQf?6|Hi7%B;zGb*ZH*u8uAaI?KS-v_7qq5xh;encP!u#40Vko1)KTrRf(W!#r*EpYS*{82 z+}s=Qsv%y^*TiAAyym!%Ej=TdS3DJu_r& z-FSHJUO+R>tR10Psr5aElD`#znZIEIJeX1z&M7K-;Gv_UL55rI+TT=^rtk6(+?jSZ zyNA-3q8d^%c6(peL)+;DQF z;eMM{HSEMVlhl-tQkpq~cCpZ`m$_f#IgJg!zP$5^{sY7}fa>7sVVVE{002ovPDHLk FV1mYP=Ar-q literal 0 HcmV?d00001 diff --git a/openclosenew/assets/images/shop.png b/openclosenew/assets/images/shop.png new file mode 100644 index 0000000000000000000000000000000000000000..55bc9a8d24d272609eb4c0456dcd0bd9207bcdb7 GIT binary patch literal 1869 zcmV-T2eSByP)N5ql9Q5_2Qn+bvjWnA@;d1XU{+9gf%eQp%L>}Afc9Yy)6Sejx`M(AXkQs1VFj2S zgol|XB$no0S#oSgwxv!AoH=~wB$jPmNmsgmx-!6be8*Psc2sUCx7>l0gVx z3PQY>0qbMoe6+e1xscQ{wcJ161|j#b*oLnR2COG|ykEy$B~vSJkDp7B57Gw`29n7E zGWpTk7-Mbx+fD}{;*X^r2mBtk*Flr92zm*<6PjVEqSJe-{$w zqHBC7cmojQgHF^f|Xt(AWX>OHPT2o4zC+3L{>VUflWj;5oX zvbt8LU= znVJo_6dbr=yj?ap8(NLlfuY0I>e$;ZKy|=CRYpZW0S_oc0VJ}rcBPnLktvU09F=}p6JLL>;qypSRU59IXGVr1r+GJ4_SYqIc)CeqIQqKZ7J9v^dH z%IJmZ&>23_#Ed4=CGQxj^Xoe9Z50~vx%dq+jX_D?(<}bxEHe+rTN%zZR;!z7&$*};>HguK$}V0 z?3qr~LjgO>Z;y7$XlNyw;7=hjN+g02J;rCR>KLQlI2b1{_!C&_QfXb&0MomFDJ zNeqXRyN?E$I$ah7yR@Q^aCAtU$>n#)ugtR|9Wg@zGY^8NQtJdxz>}$*o;8BTD@a6Y zhPH zM@;ViI+y^YI`z*L(Q8Ee+^huWaw0X&OWlxwJFC=R%p3@^c21^o$5C^+ITH934F>6k>xb^6l z@n@YeU=#sRo9O?q2qr-r4OO>QOx9ActA3hyy;g>5pO_V?TYnd(~n{QHCzo?0jSB>U--chu&A+C;hQCLT6XH zSemq76ws|C?N=m*6jO``8%aISQw|N6r2V3hrVUC?GYQI2P+E+sdhxk=p#sO4?NFi- z&37tNdXt7U;#2N)k&^c4*HDGMa}{3DCo*`reOgwf-1(A7;`yxvnR}d`0W*fd>6omg zIlv~JRjth<~|T?YDKJ*0A3Zo)tr z3K?r%Vr;`!DZn7Ms*!ApOmLliSs;pE3e*MEiJ!`xquLy3v)PP*zF&~`0b}BGTNk4i zEGbcXW4=GbB3q--Jj{R_ezZAFBRSaDflypeBUpJO4ayGb_ zrqZ9{oD>_J%lR!9Lu6!t1AC9x7e34w%sG~t{2L*c^HVb!$cNr1>_s$4A6rB3!*dHt zy`}mVhzx-C;6+?UEWQ+KLjYPi9`laMzd>@Q%5=+(F-?`00000NkvXX Hu0mjfVC!!G literal 0 HcmV?d00001 diff --git a/openclosenew/lib/07_addbusiness.dart b/openclosenew/lib/07_addbusiness.dart index 67a6a18..4fe9353 100644 --- a/openclosenew/lib/07_addbusiness.dart +++ b/openclosenew/lib/07_addbusiness.dart @@ -1,6 +1,4 @@ -import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/widgets.dart'; import 'package:openclosenew/businessaddedsuccess.dart'; class addbusiness extends StatefulWidget { @@ -235,8 +233,11 @@ class _addbusinessState extends State { contentPadding: EdgeInsets.only( left: 10, top: 1, bottom: 1, right: 5), border: OutlineInputBorder( - borderRadius: - BorderRadius.all(Radius.circular(5))), + borderRadius: BorderRadius.only( + topLeft: Radius.circular(5), + bottomLeft: Radius.circular(5), + ), + ), ), child: DropdownButtonHideUnderline( child: new DropdownButton( @@ -258,8 +259,11 @@ class _addbusinessState extends State { contentPadding: EdgeInsets.only( left: 10, top: 1, bottom: 1, right: 5), border: OutlineInputBorder( - borderRadius: - BorderRadius.all(Radius.circular(5))), + borderRadius: BorderRadius.only( + topRight: Radius.circular(5), + bottomRight: Radius.circular(5), + ), + ), ), child: DropdownButtonHideUnderline( child: new DropdownButton( @@ -317,27 +321,25 @@ class _addbusinessState extends State { ), ], ), - SizedBox( - height: 20, - ), - MaterialButton( - height: 50, - minWidth: double.infinity, - color: Color(0xff12C193), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (_) => businessaddedsuccess())); - }, - child: Text( - 'Save', - style: TextStyle(color: Colors.white, fontSize: 15), - ), - ), ], ), ), + SizedBox( + height: 20, + ), + MaterialButton( + height: 50, + minWidth: double.infinity, + color: Color(0xff12C193), + onPressed: () { + Navigator.push(context, + MaterialPageRoute(builder: (_) => businessaddedsuccess())); + }, + child: Text( + 'Save', + style: TextStyle(color: Colors.white, fontSize: 15), + ), + ), ], ), ), diff --git a/openclosenew/lib/businessaddedsuccess.dart b/openclosenew/lib/businessaddedsuccess.dart index 293bd40..54dfaf6 100644 --- a/openclosenew/lib/businessaddedsuccess.dart +++ b/openclosenew/lib/businessaddedsuccess.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:openclosenew/07_addbusiness.dart'; +import 'package:openclosenew/businessempty.dart'; class businessaddedsuccess extends StatelessWidget { const businessaddedsuccess({Key? key}) : super(key: key); @@ -47,7 +47,7 @@ class businessaddedsuccess extends StatelessWidget { borderRadius: BorderRadius.circular(4)), onPressed: () { Navigator.push(context, - MaterialPageRoute(builder: (_) => addbusiness())); + MaterialPageRoute(builder: (_) => businessempty())); }, child: Text( 'Let’s Explore', diff --git a/openclosenew/lib/businessempty.dart b/openclosenew/lib/businessempty.dart new file mode 100644 index 0000000..6207425 --- /dev/null +++ b/openclosenew/lib/businessempty.dart @@ -0,0 +1,119 @@ +import 'package:flutter/material.dart'; +import 'package:dotted_border/dotted_border.dart'; + +class businessempty extends StatelessWidget { + const businessempty({Key? key}) : super(key: key); + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Column( + children: [ + SafeArea( + child: Row( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Container( + height: 50, + width: 50, + margin: EdgeInsets.all(20), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(50), + color: Colors.grey, + ), + ), + Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + SizedBox( + height: 25, + ), + Text( + 'Hi, Sudharsan', + style: TextStyle( + color: Colors.black, + fontSize: 16, + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w600, + ), + ), + Text( + 'Mon, 02 May 2022', + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w500, + fontSize: 11, + ), + ), + ], + ), + Spacer(), + Padding( + padding: const EdgeInsets.only(top: 20), + child: IconButton( + icon: Image.asset('assets/images/bell.png'), + onPressed: () { + Navigator.pop(context); + }, + ), + ), + ], + ), + ), + Spacer(), + Column( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + DottedBorder( + color: Color(0xff09CD99), + padding: EdgeInsets.all(5), + radius: Radius.circular(6), + child: Container( + height: 100, + width: 330, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + IconButton( + icon: Image.asset('assets/images/shop.png'), + onPressed: () { + Navigator.pop(context); + }, + ), + Text( + 'Add your Business', + style: TextStyle( + fontFamily: 'Manrope', + fontStyle: FontStyle.normal, + fontWeight: FontWeight.w400, + fontSize: 14, + color: Color(0xff09CD99), + ), + ) + ], + ), + ), + ), + ], + ), + Spacer(), + MaterialButton( + height: 50, + minWidth: double.infinity, + color: Color(0xff12C193), + onPressed: () {}, + child: Text( + 'Save', + style: TextStyle(color: Colors.white, fontSize: 15), + ), + ), + ], + ), + ); + } +} diff --git a/openclosenew/lib/businessstart_page.dart b/openclosenew/lib/businessstart_page.dart index e3649b7..ae8dd1e 100644 --- a/openclosenew/lib/businessstart_page.dart +++ b/openclosenew/lib/businessstart_page.dart @@ -1,6 +1,8 @@ import 'package:flutter/material.dart'; import 'package:openclosenew/07_addbusiness.dart'; +import 'businessempty.dart'; + class business extends StatefulWidget { const business({Key? key}) : super(key: key); @@ -31,7 +33,10 @@ class _businessState extends State { Padding( padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24), child: TextButton( - onPressed: () {}, + onPressed: () { + Navigator.push(context, + MaterialPageRoute(builder: (_) => businessempty())); + }, child: Text( "Skip", style: TextStyle(color: Colors.grey.shade600), diff --git a/openclosenew/pubspec.lock b/openclosenew/pubspec.lock index 92f177e..331ffbd 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.15.0" + version: "1.16.0" cross_file: dependency: transitive description: @@ -78,6 +78,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.4" + dotted_border: + dependency: "direct main" + description: + name: dotted_border + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0+2" equatable: dependency: transitive description: @@ -91,7 +98,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: transitive description: @@ -225,7 +232,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" libphonenumber: dependency: transitive description: @@ -274,7 +281,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.1.4" meta: dependency: transitive description: @@ -288,7 +295,21 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" + path_drawing: + dependency: transitive + description: + name: path_drawing + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + path_parsing: + dependency: transitive + description: + name: path_parsing + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" path_provider: dependency: transitive description: @@ -440,7 +461,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" stack_trace: dependency: transitive description: @@ -475,7 +496,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.8" + version: "0.4.9" typed_data: dependency: transitive description: @@ -496,7 +517,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" win32: dependency: transitive description: @@ -526,5 +547,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.16.2 <3.0.0" + dart: ">=2.17.0-0 <3.0.0" flutter: ">=2.10.0-0" diff --git a/openclosenew/pubspec.yaml b/openclosenew/pubspec.yaml index 19cce59..e881452 100644 --- a/openclosenew/pubspec.yaml +++ b/openclosenew/pubspec.yaml @@ -30,6 +30,7 @@ dependencies: flutter: sdk: flutter snippet_coder_utils: ^1.0.8 + dotted_border: ^2.0.0+2 # The following adds the Cupertino Icons fonts to your application.