From 82b4c1adfb0b24eab088e36940ef3f7b583a7f54 Mon Sep 17 00:00:00 2001 From: Babar Bashir Date: Wed, 4 Aug 2021 22:23:26 +0500 Subject: [PATCH] "Fixed crashed svg images" --- assets/Icons/angledown.png | Bin 0 -> 180 bytes .../Icons/{Angle down.svg => angledown.svg} | 0 assets/Icons/angleright.png | Bin 0 -> 184 bytes .../Icons/{Angle right.svg => angleright.svg} | 0 assets/Icons/download.png | Bin 0 -> 290 bytes assets/Icons/edit.png | Bin 0 -> 251 bytes assets/Icons/file.png | Bin 0 -> 313 bytes assets/Icons/inbox.png | Bin 0 -> 460 bytes assets/Icons/markup.png | Bin 0 -> 356 bytes assets/Icons/markupfilled.png | Bin 0 -> 221 bytes assets/Icons/morevertical.png | Bin 0 -> 163 bytes assets/Icons/paperclip.png | Bin 0 -> 273 bytes assets/Icons/plus.png | Bin 0 -> 169 bytes assets/Icons/printer.png | Bin 0 -> 240 bytes assets/Icons/printer2.png | Bin 0 -> 240 bytes assets/Icons/reply.png | Bin 0 -> 537 bytes assets/Icons/replyall.png | Bin 0 -> 798 bytes assets/Icons/search.png | Bin 0 -> 667 bytes assets/Icons/send.png | Bin 0 -> 651 bytes assets/Icons/sort.png | Bin 0 -> 140 bytes assets/Icons/transfer.png | Bin 0 -> 392 bytes assets/Icons/trash.png | Bin 0 -> 406 bytes lib/components/side_menu.dart | 12 +- lib/components/side_menu_item.dart | 6 +- lib/components/tags.dart | 8 +- lib/screens/email/components/header.dart | 28 +-- lib/screens/email/email_screen.dart | 4 +- lib/screens/main/components/email_card.dart | 8 +- .../main/components/list_of_emails.dart | 12 +- pubspec.lock | 208 +++--------------- 30 files changed, 73 insertions(+), 213 deletions(-) create mode 100644 assets/Icons/angledown.png rename assets/Icons/{Angle down.svg => angledown.svg} (100%) create mode 100644 assets/Icons/angleright.png rename assets/Icons/{Angle right.svg => angleright.svg} (100%) create mode 100644 assets/Icons/download.png create mode 100644 assets/Icons/edit.png create mode 100644 assets/Icons/file.png create mode 100644 assets/Icons/inbox.png create mode 100644 assets/Icons/markup.png create mode 100644 assets/Icons/markupfilled.png create mode 100644 assets/Icons/morevertical.png create mode 100644 assets/Icons/paperclip.png create mode 100644 assets/Icons/plus.png create mode 100644 assets/Icons/printer.png create mode 100644 assets/Icons/printer2.png create mode 100644 assets/Icons/reply.png create mode 100644 assets/Icons/replyall.png create mode 100644 assets/Icons/search.png create mode 100644 assets/Icons/send.png create mode 100644 assets/Icons/sort.png create mode 100644 assets/Icons/transfer.png create mode 100644 assets/Icons/trash.png diff --git a/assets/Icons/angledown.png b/assets/Icons/angledown.png new file mode 100644 index 0000000000000000000000000000000000000000..bbfd82d560e384c7cd174668c64fc330e97ce464 GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa3-AeX1=4MkH@8pO3?$p8Y-yXa zxdX@rqyPW^A9=KZ9jJn%B*-tAAs{fZps3V!Z literal 0 HcmV?d00001 diff --git a/assets/Icons/Angle down.svg b/assets/Icons/angledown.svg similarity index 100% rename from assets/Icons/Angle down.svg rename to assets/Icons/angledown.svg diff --git a/assets/Icons/angleright.png b/assets/Icons/angleright.png new file mode 100644 index 0000000000000000000000000000000000000000..f585e07e7dd1c647b2f2e8bfcef8c5857ccf16ab GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFv3GfMV1=0qVzWSCv`sO|$h6ND$ z7@GSUSo#@Q_yW=Y|Nno)3Eu*$<0=XA3uXuiOe`oYs;Kq&xzALR^8gwsxq4gM*H_pRsX} zk%hORxxcQZzmd7OzNL?WrLUp6FPQW(u<$js^fNH`12TXj`alva1?2w!|NnOI;Wa?B z#7ctvf*II2#3ePgbdAlTX3U(s>d^TMSFYc9_RZU68BhgdlDE5yIQO*~{XkBdr;B5V z#O0|Iy!jdwcwAUlad-uC-TA-bl)H(G__?fKMw#leZTyAz7?Z6Ue(+~ZY`DPthNZ(H zn%N;mSMUz+f#WY0Zac|)VEN7;oA#TW{a0!5`|8S_UOS(%1b6r*`dF&1Z%NUww_tc4 Wz_MX`aZU};Mg~t;KbLh*2~7a`L}Azf literal 0 HcmV?d00001 diff --git a/assets/Icons/edit.png b/assets/Icons/edit.png new file mode 100644 index 0000000000000000000000000000000000000000..e8f889f062f3e32f8933daddb8ef0eb22bcaed95 GIT binary patch literal 251 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!3HF+tk*dLq}Y|gW!U_%O?XxHh8)? zhFJ98y=2IB$U&g>p}9f@$Hvo!Il3&(3DN>`$F7Xt1Bl83xRHD@O1TaS?83{1ORyiVO#(J literal 0 HcmV?d00001 diff --git a/assets/Icons/file.png b/assets/Icons/file.png new file mode 100644 index 0000000000000000000000000000000000000000..b0af53f179e829d34ee3f728f835173c5428bfed GIT binary patch literal 313 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc3?z4jzqJQafdM`tu0Z<#|NpC2t?HP$yM5Z0 zzP=qDQ#Q3u+t@mFYx~449g{Y$@^+q_|2-|hh_c`%e-%v`QI!HfaG@| z*DC*;6_Anl-KyZbb-{Na+X|>A|GPCv3c>}6K-oZLU_qElkX{gii38dH|NnOlFDwQ+ z&9EfMFPMRmiJ6;+k6%DYR7~5**v#7}Ff=kMy}YKjp{coJ`l>C5PoKGb?dGl9&tAR% z`04xae;Rz}oPe4clf2zsj2tfcoB(o`c)B=-NL-$J;iOoTfq=_JCm9Z4FdR-3mgOk~3zj*V|sxa;w=i)!6;jj(x8WPmD8RVkmg{_s5@y z#-^{5438aMEBJZgti0cS9Yx{{cjk2Ls_T}W?s6qeEg?)-aO$4sqlyeCS5DFNW>AdQ zQc6to`yd^@Z_2+SF?Ypif%RuLs?T|&+At$MiD8y_th$o_@5h(#Pk$rsdOzs#E1-KB NJYD@<);T3K0RSL9%Ul2e literal 0 HcmV?d00001 diff --git a/assets/Icons/markup.png b/assets/Icons/markup.png new file mode 100644 index 0000000000000000000000000000000000000000..5585d21b2aeb4fce6dec4f3cf59bd9e1321ffa7b GIT binary patch literal 356 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc3?z4jzqJQa)d4;su0Z<#|NjjQ``f0h>zKH? zZOYcpsaraxY-*plrE~JewkexCCU5DOw51Iw0%U;5O>I-Qv`^aH4wRY%BQ!v==)dr$%!Lm*u4%p3XD)bYIyFfv{c`cK6Kn3?PcE>x%-+Knv@J5BCV2jq zRo~36y-I3YFC~4ot>OQ+e>z_*86NEW^5fygPiJmDOK%WV(iJ>ko*v-|w2r~k)z4*} HQ$iB}rHQ1~ literal 0 HcmV?d00001 diff --git a/assets/Icons/markupfilled.png b/assets/Icons/markupfilled.png new file mode 100644 index 0000000000000000000000000000000000000000..1fcc5b1d70d6c3fce9a539f48913609b644657e9 GIT binary patch literal 221 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rf|wj^(N7l!{JxM1({$v}}wo-U3d z7QM+S4os(>tN%+^5Hc|OQ@kfRqJrUAx>A_3qCwV$6^@J90&^~yYe{_hf9C#uol`vj z|DRX6zu^D>?;8vLl~g56`}=5JpyRQ6w_{wFcz^w`msQrEeBHPA(|Lo1)ohh>dw6&( zd3bpKcNo6-RnOM;Z+Dx#)B6?A{I*)w@*ev z|NsAIG-!VeRKZaap?+OFvV#Tb*k-Ca08-dy?y$dUJSaSV~ToSdM* uI73~rP%CPpg`}>B%vA@rNe2Urr5MWdI9@(Vd|?Ju%HZkh=d#Wzp$PyHbT%~r literal 0 HcmV?d00001 diff --git a/assets/Icons/paperclip.png b/assets/Icons/paperclip.png new file mode 100644 index 0000000000000000000000000000000000000000..d9786e6c7efc86b908d4b88208e31d1029aff76b GIT binary patch literal 273 zcmV+s0q*{ZP)3K~yNubZ-TqE$ve_w@-$m z|NsAosM`wx<=9Jt{DK*xW6oT@^6iYkUT2^XW0JSK3%gii$7>)*$J50zgyVX0f&!ZX z=Yg3zdF?hQAxvXp1KB*-tAfz8^cz2nf~qfeiOS0@Dkg&C8)-CcMZ zHwPvIISHOFjv*44lM@_RWp*E2z;NbaTY;H_g|vW*q|C7ucLO$rG&Gi)%di*}FVdQ&MBb@0H?E70RR91 literal 0 HcmV?d00001 diff --git a/assets/Icons/printer2.png b/assets/Icons/printer2.png new file mode 100644 index 0000000000000000000000000000000000000000..500a0ff95c53f549728b530eae6aaa36cbd2bd17 GIT binary patch literal 240 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaN3?zjj6;1;w^#Gp`S0LTcu&QnH#*V3*+a_;r zpR}nRL~d@MvKhnxqyPW^C!V-`8>p1KB*-tAfz8^cz2nf~qfeiOS0@Dkg&C8)-CcMZ zHwPvIISHOFjv*44lM@_RWp*E2z;NbaTY;H_g|vW*q|C7ucLO$rG&Gi)%di*}FVdQ&MBb@0H?E70RR91 literal 0 HcmV?d00001 diff --git a/assets/Icons/reply.png b/assets/Icons/reply.png new file mode 100644 index 0000000000000000000000000000000000000000..2acdde7d06355035d41cfd5a1a30e321814eefc0 GIT binary patch literal 537 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM3?#3wJbMaAoeA&>aRt)<|NmdLYE?tS{+Tn+ zOq#T1+%kQ0=cH{N6E}BF+}t*4L)(#}trA$CNGYlQy*hMWz7Ro7*RC0kT1AfZ~%k12qE0K~j@|2&5jY7o@TSWC)Op zf`A%9Mj;DMLQ#Ms1y;7U@T?fnKh7mVe!&ck%q* zk;y69#U*9s4b5FWz5SDCu2{Wx%ijG54jnsr`oY6zuU>!r^8LrpU%&tS`}jk0F3>o} zByV>Y#{W#Z_kf%=o-U3d8t3;0UKeUI5a9V1=is_Q;YRiGHr?O<|1aTO%q($V=KIS{ zyC?6yt^8y?N9L*t=hrr_I*@0zV1rAU)tg$5Gy6h2L`8PkI(qPazkA4I-_L2x(TT1l zHH-y0UV7_ym-TsUvtf5j{CB~I$@yiAVp48m<^0`&J>)*4|f;Gz`s*Y{Fx#R7W zJ2&l3X9?;^yboHS)Z?=Eph)|ThKJm4^+)y2ZqZ*p@$!C~FU&c4GB;IAWZnVY&EVX)6?A+KeXXj0LHOtAxpdbb(BU8VF^8oC-$B%FxtI z-u(an|AT*D%K`&5w~S4oj$*CJaUh$`)5S4F zLh|gvm)3_E7}y`gr#_2#cVgocAIn3RmId_Pd1B`KA}MG8|NpBa`Tc7@Tzy>oG5^PN z8-^uk@A{cUuPI>bn0mrOs#JEuPd-iex&X)KjG0?^nEyKT{Ro@rpAYXR|7@6|yuSHD z#Xgg(OyMgIMct9sz8Le7(bH;G7sqi?eYTB0_gEgji1d9Y@g&y1!ASXl;MvTY&u8pD zZj|=89G5S9DKq^R!$jVI|axFDFEsM%C-STK!PB$ZOWE*kQ$Hzh%C@F zs1!&gNIeW~0cwPp1`~lwK@0>*!Hk6{0J;h+f@}y#B!8PmAJD^oB|(0{42(?7Y#dyC zLZUKS+B#;|wswwAo?hPm!QmNMxq12J6;+LG?Gq+WpD}yRyp^lgZrZYA*X{#XuHLzK z|G~q@PoKYi_x|Ij&tJcN|Ni~Q&p-d}dCd+0n#`Ew?e4<(pGo%~kj>=j;usV zOnB*4_k2r)RsEC@e}n0gnN^uWRs~DK<^*h7?Kv<0*whr^RhdxJk4b&euWalEo?dGdmV%OwQa zFNsZ<{H-%%wLG&Be-Y2Ll%-tuT$ip&)qlJ9HAi5Tx4GuCP4h1a8h1`JS+%V3>)&lm z>yG-|`KHP{_ulj+&kt`@+kIx~?0HUqyAFPfm>gS|`{cCg?+R_V14U2YeULwWwV^(; b`E|b7G`&_vj}>9SpkeTI^>bP0l+XkKC7ez4 literal 0 HcmV?d00001 diff --git a/assets/Icons/send.png b/assets/Icons/send.png new file mode 100644 index 0000000000000000000000000000000000000000..2256131a53fff379fa9d3d9c19828f21fef46f7a GIT binary patch literal 651 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc3?z4jzqMyzVB`+)32_B-|NsBLYSpTShW#^V zo@r=U)i85&XXnO-N!vPR?rxv9rLS*C_w;qG6E?O?-O%2@zIpPd=80?Crflt)vZ-V8 z*7k{8Iwx)F0FqO;v`*RFK528uq%9qjHn&aQ+&+0r#}qJo%9i#?TiPdY?wGQ<14x3T zzzE2lvUJwFW0TPD@ zf^@+Yz*T~zfEtn1z!X3E8y5@=j);;VzhDMNW)@a9E?z!SwRiiWnH{>f9PEn2*E*@{)GSFc{PVdLg4J9ZyAdi=!2OP6oly#3(u z>vtbMeg5|S`}ZF|fBpV9>BNL%Ksy+dyxm})e(00+B z(^1oO^`fl)1xYa>fzfZHcHaO0U-i|>i)zm&JnEb9;EDM?6QA7|r$&3Om#b%+?zePz zcII69znj&=_@A!Ky_?aL|L@Gj<#A=pci;8+{dE^J3p;OZh?m`tiD#CCHLh8*mB%+v z<#BFS&$355bG9-7*`;^mFB!%4m2TXi{8%t!X8g_%p0_?HoPPG>dijdV5A(CPysq3+ zq>(w1Zy{I6BOTecM_JGQ&R|J)K09&3^xQ9#O4OXa0vR)zx708yu2mF|U&?X?=qmbP0l+XkKAW$si literal 0 HcmV?d00001 diff --git a/assets/Icons/transfer.png b/assets/Icons/transfer.png new file mode 100644 index 0000000000000000000000000000000000000000..e54974ef9196a9e09a39d62c7122d1d41890c96a GIT binary patch literal 392 zcmeAS@N?(olHy`uVBq!ia0vp^G9b*s3?yAI>n{UR?EyX^u0VR#s#P;*o@r=U)i85& z$IRWW6E?O_+tNC1W5=Y;os%|oOxfB#X-fwPZEl~urDO8u_9-9|$nBW2sSSuGZ*H5s zsU0W+lme-NAs8DZju-v^|G)CUf-^v;XqN=}1v4jSeXv k9`aTsih5pKIQs#^!$_eMT0U+koUGpe#^i zGe{PKCT#+-CxJvd;DT_*6reJoc97!#|Nrma;qw6K0*#U&zhDMtHg-+{DR~7AO>JG{ zfWV;gx`x({?w;kV)@ zyt&%PSLv({+$Al!uwok1M8U-RU}LeZn-apV+g&MY+LZ8$ziQjjYQZSseO_VKerL;! zn3GSG8M(_S|6gyzyU$*x{_f2Kc9RwvdM*%d<2&T>p6T?>&9j;EI7)sqct{CvVUJwC Q2k1HmPgg&ebxsLQ0N9YW_y7O^ literal 0 HcmV?d00001 diff --git a/lib/components/side_menu.dart b/lib/components/side_menu.dart index a5c6e95..2c089e4 100644 --- a/lib/components/side_menu.dart +++ b/lib/components/side_menu.dart @@ -47,7 +47,7 @@ class SideMenu extends StatelessWidget { ), color: kPrimaryColor, onPressed: () {}, - icon: WebsafeSvg.asset("assets/Icons/Edit.svg", width: 16), + icon: Image.asset("assets/Icons/edit.png", width: 16), label: Text( "New message", style: TextStyle(color: Colors.white), @@ -67,7 +67,7 @@ class SideMenu extends StatelessWidget { ), color: kBgDarkColor, onPressed: () {}, - icon: WebsafeSvg.asset("assets/Icons/Download.svg", width: 16), + icon: Image.asset("assets/Icons/download.png", width: 16), label: Text( "Get messages", style: TextStyle(color: kTextColor), @@ -78,26 +78,26 @@ class SideMenu extends StatelessWidget { SideMenuItem( press: () {}, title: "Inbox", - iconSrc: "assets/Icons/Inbox.svg", + iconSrc: "assets/Icons/inbox.png", isActive: true, itemCount: 3, ), SideMenuItem( press: () {}, title: "Sent", - iconSrc: "assets/Icons/Send.svg", + iconSrc: "assets/Icons/send.png", isActive: false, ), SideMenuItem( press: () {}, title: "Drafts", - iconSrc: "assets/Icons/File.svg", + iconSrc: "assets/Icons/file.png", isActive: false, ), SideMenuItem( press: () {}, title: "Deleted", - iconSrc: "assets/Icons/Trash.svg", + iconSrc: "assets/Icons/trash.png", isActive: false, showBorder: false, ), diff --git a/lib/components/side_menu_item.dart b/lib/components/side_menu_item.dart index 905c36b..f38fd72 100644 --- a/lib/components/side_menu_item.dart +++ b/lib/components/side_menu_item.dart @@ -30,8 +30,8 @@ class SideMenuItem extends StatelessWidget { child: Row( children: [ (isActive || isHover) - ? WebsafeSvg.asset( - "assets/Icons/Angle right.svg", + ? Image.asset( + "assets/Icons/angleright.png", width: 15, ) : SizedBox(width: 15), @@ -48,7 +48,7 @@ class SideMenuItem extends StatelessWidget { : null, child: Row( children: [ - WebsafeSvg.asset( + Image.asset( iconSrc, height: 20, color: (isActive || isHover) ? kPrimaryColor : kGrayColor, diff --git a/lib/components/tags.dart b/lib/components/tags.dart index 194c874..1ac87ff 100644 --- a/lib/components/tags.dart +++ b/lib/components/tags.dart @@ -14,9 +14,9 @@ class Tags extends StatelessWidget { children: [ Row( children: [ - WebsafeSvg.asset("assets/Icons/Angle down.svg", width: 16), + Image.asset("assets/Icons/angledown.png", width: 16), SizedBox(width: kDefaultPadding / 4), - WebsafeSvg.asset("assets/Icons/Markup.svg", width: 20), + Image.asset("assets/Icons/markup.png", width: 20), SizedBox(width: kDefaultPadding / 2), Text( "Tags", @@ -55,8 +55,8 @@ class Tags extends StatelessWidget { padding: const EdgeInsets.fromLTRB(kDefaultPadding * 1.5, 10, 0, 10), child: Row( children: [ - WebsafeSvg.asset( - "assets/Icons/Markup filled.svg", + Image.asset( + "assets/Icons/markupfilled.png", height: 18, color: color, ), diff --git a/lib/screens/email/components/header.dart b/lib/screens/email/components/header.dart index b62b2c3..4e788ab 100644 --- a/lib/screens/email/components/header.dart +++ b/lib/screens/email/components/header.dart @@ -18,29 +18,29 @@ class Header extends StatelessWidget { // We need this back button on mobile only if (Responsive.isMobile(context)) BackButton(), IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/Trash.svg", + icon: Image.asset( + "assets/Icons/trash.png", width: 24, ), onPressed: () {}, ), IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/Reply.svg", + icon: Image.asset( + "assets/Icons/reply.png", width: 24, ), onPressed: () {}, ), IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/Reply all.svg", + icon: Image.asset( + "assets/Icons/replyall.png", width: 24, ), onPressed: () {}, ), IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/Transfer.svg", + icon: Image.asset( + "assets/Icons/transfer.png", width: 24, ), onPressed: () {}, @@ -49,22 +49,22 @@ class Header extends StatelessWidget { // We don't need print option on mobile if (Responsive.isDesktop(context)) IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/Printer.svg", + icon: Image.asset( + "assets/Icons/printer.png", width: 24, ), onPressed: () {}, ), IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/Markup.svg", + icon: Image.asset( + "assets/Icons/markup.png", width: 24, ), onPressed: () {}, ), IconButton( - icon: WebsafeSvg.asset( - "assets/Icons/More vertical.svg", + icon: Image.asset( + "assets/Icons/morevertical.png", width: 24, ), onPressed: () {}, diff --git a/lib/screens/email/email_screen.dart b/lib/screens/email/email_screen.dart index b30d6bd..092fe04 100644 --- a/lib/screens/email/email_screen.dart +++ b/lib/screens/email/email_screen.dart @@ -111,8 +111,8 @@ class EmailScreen extends StatelessWidget { .caption, ), SizedBox(width: kDefaultPadding / 4), - WebsafeSvg.asset( - "assets/Icons/Download.svg", + Image.asset( + "assets/Icons/download.png", height: 16, color: kGrayColor, ), diff --git a/lib/screens/main/components/email_card.dart b/lib/screens/main/components/email_card.dart index 9da70c8..2505332 100644 --- a/lib/screens/main/components/email_card.dart +++ b/lib/screens/main/components/email_card.dart @@ -79,8 +79,8 @@ class EmailCard extends StatelessWidget { ), SizedBox(height: 5), if (email.isAttachmentAvailable) - WebsafeSvg.asset( - "assets/Icons/Paperclip.svg", + Image.asset( + "assets/Icons/paperclip.png", color: isActive ? Colors.white70 : kGrayColor, ) ], @@ -127,8 +127,8 @@ class EmailCard extends StatelessWidget { Positioned( left: 8, top: 0, - child: WebsafeSvg.asset( - "assets/Icons/Markup filled.svg", + child: Image.asset( + "assets/Icons/markupfilled.png", height: 18, color: email.tagColor, ), diff --git a/lib/screens/main/components/list_of_emails.dart b/lib/screens/main/components/list_of_emails.dart index 86f7e99..c4f27c6 100644 --- a/lib/screens/main/components/list_of_emails.dart +++ b/lib/screens/main/components/list_of_emails.dart @@ -63,8 +63,8 @@ class _ListOfEmailsState extends State { suffixIcon: Padding( padding: const EdgeInsets.all( kDefaultPadding * 0.75), //15 - child: WebsafeSvg.asset( - "assets/Icons/Search.svg", + child: Image.asset( + "assets/Icons/search.png", width: 24, ), ), @@ -84,8 +84,8 @@ class _ListOfEmailsState extends State { const EdgeInsets.symmetric(horizontal: kDefaultPadding), child: Row( children: [ - WebsafeSvg.asset( - "assets/Icons/Angle down.svg", + Image.asset( + "assets/Icons/angledown.png", width: 16, color: Colors.black, ), @@ -98,8 +98,8 @@ class _ListOfEmailsState extends State { MaterialButton( minWidth: 20, onPressed: () {}, - child: WebsafeSvg.asset( - "assets/Icons/Sort.svg", + child: Image.asset( + "assets/Icons/sort.png", width: 16, ), ), diff --git a/pubspec.lock b/pubspec.lock index 6c69a70..227a872 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,83 +1,55 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - url: "https://pub.dartlang.org" - source: hosted - version: "12.0.0" - analyzer: - dependency: transitive - description: - name: analyzer - url: "https://pub.dartlang.org" - source: hosted - version: "0.40.6" archive: dependency: transitive description: name: archive url: "https://pub.dartlang.org" source: hosted - version: "2.0.13" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.0" + version: "3.1.2" async: dependency: transitive description: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.3" + version: "2.6.1" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0" characters: dependency: transitive description: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.5" + version: "1.1.0" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" - cli_util: - dependency: transitive - description: - name: cli_util - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.0" + version: "1.2.0" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.5" + version: "1.15.0" convert: dependency: transitive description: @@ -85,41 +57,34 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.1" - coverage: - dependency: transitive - description: - name: coverage - url: "https://pub.dartlang.org" - source: hosted - version: "0.14.2" crypto: dependency: transitive description: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "2.1.5" + version: "3.0.1" cupertino_icons: dependency: "direct main" description: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.3" fake_async: dependency: transitive description: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0" file: dependency: transitive description: name: file url: "https://pub.dartlang.org" source: hosted - version: "6.0.0-nullsafety.4" + version: "6.1.0" flutter: dependency: "direct main" description: flutter @@ -136,14 +101,14 @@ packages: name: flutter_staggered_grid_view url: "https://pub.dartlang.org" source: hosted - version: "0.3.3" + version: "0.3.4" flutter_svg: dependency: transitive description: name: flutter_svg url: "https://pub.dartlang.org" source: hosted - version: "0.18.1" + version: "0.19.3" flutter_test: dependency: "direct dev" description: flutter @@ -154,13 +119,6 @@ packages: description: flutter source: sdk version: "0.0.0" - glob: - dependency: transitive - description: - name: glob - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" http: dependency: transitive description: @@ -179,28 +137,7 @@ packages: dependency: "direct dev" description: flutter source: sdk - version: "0.9.2+2" - io: - dependency: transitive - description: - name: io - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.4" - js: - dependency: transitive - description: - name: js - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.3-nullsafety.3" - json_rpc_2: - dependency: transitive - description: - name: json_rpc_2 - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.2" + version: "0.0.0" logging: dependency: transitive description: @@ -214,42 +151,21 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.3" + version: "0.12.10" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.6" - node_interop: - dependency: transitive - description: - name: node_interop - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.1" - node_io: - dependency: transitive - description: - name: node_io - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.1" - package_config: - dependency: transitive - description: - name: package_config - url: "https://pub.dartlang.org" - source: hosted - version: "1.9.3" + version: "1.3.0" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.3" + version: "1.8.0" path_drawing: dependency: transitive description: @@ -270,7 +186,7 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.3" + version: "1.11.1" petitparser: dependency: transitive description: @@ -284,152 +200,103 @@ packages: name: platform url: "https://pub.dartlang.org" source: hosted - version: "3.0.0-nullsafety.4" - pool: - dependency: transitive - description: - name: pool - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.0-nullsafety.3" + version: "3.0.0" process: dependency: transitive description: name: process url: "https://pub.dartlang.org" source: hosted - version: "4.0.0-nullsafety.4" - pub_semver: - dependency: transitive - description: - name: pub_semver - url: "https://pub.dartlang.org" - source: hosted - version: "1.4.4" + version: "4.2.1" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" - source_map_stack_trace: - dependency: transitive - description: - name: source_map_stack_trace - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0-nullsafety.4" - source_maps: - dependency: transitive - description: - name: source_maps - url: "https://pub.dartlang.org" - source: hosted - version: "0.10.10-nullsafety.3" source_span: dependency: transitive description: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.4" + version: "1.8.1" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.6" + version: "1.10.0" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0" sync_http: dependency: transitive description: name: sync_http url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.3.0" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.6" - test_core: - dependency: transitive - description: - name: test_core - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.12-nullsafety.9" + version: "0.3.0" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.5" + version: "1.3.0" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.5" + version: "2.1.0" vm_service: dependency: transitive description: name: vm_service url: "https://pub.dartlang.org" source: hosted - version: "5.5.0" - watcher: - dependency: transitive - description: - name: watcher - url: "https://pub.dartlang.org" - source: hosted - version: "0.9.7+15" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" + version: "6.2.0" webdriver: dependency: transitive description: name: webdriver url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "3.0.0" websafe_svg: dependency: "direct main" description: name: websafe_svg url: "https://pub.dartlang.org" source: hosted - version: "1.1.4+1" + version: "1.1.4+2" xml: dependency: transitive description: @@ -437,13 +304,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.5.1" - yaml: - dependency: transitive - description: - name: yaml - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.1" sdks: - dart: ">=2.12.0-0.0 <3.0.0" - flutter: ">=1.18.0-6.0.pre <2.0.0" + dart: ">=2.12.0 <3.0.0" + flutter: ">=1.24.0-10.1.pre"