From e7f1370066daa69c5b32a263677cac21f8b1eaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Olav?= Date: Tue, 7 Nov 2023 19:56:54 +0100 Subject: [PATCH] sail_ui: add selected icon --- packages/sail_ui/assets/svgs/icon_selected.svg | 3 +++ packages/sail_ui/lib/widgets/core/sail_svg.dart | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 packages/sail_ui/assets/svgs/icon_selected.svg diff --git a/packages/sail_ui/assets/svgs/icon_selected.svg b/packages/sail_ui/assets/svgs/icon_selected.svg new file mode 100644 index 00000000..da9f9756 --- /dev/null +++ b/packages/sail_ui/assets/svgs/icon_selected.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/sail_ui/lib/widgets/core/sail_svg.dart b/packages/sail_ui/lib/widgets/core/sail_svg.dart index 7b55bc92..165a5894 100644 --- a/packages/sail_ui/lib/widgets/core/sail_svg.dart +++ b/packages/sail_ui/lib/widgets/core/sail_svg.dart @@ -17,6 +17,7 @@ enum SailSVGAsset { iconConfirmed, iconPending, iconFailed, + iconSelected, } /// If you don't want to overwrite the color of the svg, put it in here! @@ -94,6 +95,9 @@ extension AsAssetPath on SailSVGAsset { return 'assets/svgs/icon_pending.svg'; case SailSVGAsset.iconFailed: return 'assets/svgs/icon_failed.svg'; + + case SailSVGAsset.iconSelected: + return 'assets/svgs/icon_selected.svg'; } } }