Skip to content

Commit

Permalink
sail_ui: add selected icon
Browse files Browse the repository at this point in the history
  • Loading branch information
octobocto committed Nov 7, 2023
1 parent 5618fb4 commit 4949e1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/sail_ui/assets/svgs/icon_selected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/sail_ui/lib/widgets/core/sail_svg.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down Expand Up @@ -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';
}
}
}

0 comments on commit 4949e1e

Please sign in to comment.