Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/Icons/angledown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/Icons/angleright.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/Icons/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/inbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/markup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/markupfilled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/morevertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/paperclip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/printer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/printer2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/reply.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/replyall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/send.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/sort.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/transfer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Icons/trash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions lib/components/side_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand All @@ -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,
),
Expand Down
6 changes: 3 additions & 3 deletions lib/components/side_menu_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -48,7 +48,7 @@ class SideMenuItem extends StatelessWidget {
: null,
child: Row(
children: [
WebsafeSvg.asset(
Image.asset(
iconSrc,
height: 20,
color: (isActive || isHover) ? kPrimaryColor : kGrayColor,
Expand Down
8 changes: 4 additions & 4 deletions lib/components/tags.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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,
),
Expand Down
28 changes: 14 additions & 14 deletions lib/screens/email/components/header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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: () {},
Expand All @@ -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: () {},
Expand Down
4 changes: 2 additions & 2 deletions lib/screens/email/email_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down
8 changes: 4 additions & 4 deletions lib/screens/main/components/email_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
],
Expand Down Expand Up @@ -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,
),
Expand Down
12 changes: 6 additions & 6 deletions lib/screens/main/components/list_of_emails.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class _ListOfEmailsState extends State<ListOfEmails> {
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,
),
),
Expand All @@ -84,8 +84,8 @@ class _ListOfEmailsState extends State<ListOfEmails> {
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,
),
Expand All @@ -98,8 +98,8 @@ class _ListOfEmailsState extends State<ListOfEmails> {
MaterialButton(
minWidth: 20,
onPressed: () {},
child: WebsafeSvg.asset(
"assets/Icons/Sort.svg",
child: Image.asset(
"assets/Icons/sort.png",
width: 16,
),
),
Expand Down
Loading