From 1ba7649cd85fd73762c7e4584587e1774d2dc46d Mon Sep 17 00:00:00 2001 From: Erick Date: Tue, 12 Mar 2024 11:26:46 -0300 Subject: [PATCH] feat: adding NesIcons16.leftArrowIndicator --- CHANGELOG.md | 1 + example/lib/gallery/sections/icons.dart | 5 +++++ lib/src/widgets/nes_icon16.dart | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4af3084..d790a86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - feat: adding `NesIcons.bell` and `NesIcons16.bell` - feat: adding `NesIcons16.close` - feat: adding `NesIcons16.handPointingRight` + - feat: adding `NesIcons16.leftArrowIndicator` # 0.18.0 - feat: add `NesIcons.wrench` diff --git a/example/lib/gallery/sections/icons.dart b/example/lib/gallery/sections/icons.dart index 05f566c..17da998 100644 --- a/example/lib/gallery/sections/icons.dart +++ b/example/lib/gallery/sections/icons.dart @@ -459,6 +459,11 @@ class IconsSection extends StatelessWidget { label: 'handPointingRight', is16x16: true, ), + _IconEntry( + data: NesIcons16.leftArrowIndicator, + label: 'leftArrowIndicator', + is16x16: true, + ), _IconEntry( data: NesIcons16.bell, label: 'bell', diff --git a/lib/src/widgets/nes_icon16.dart b/lib/src/widgets/nes_icon16.dart index 8d2332a..3e19bc2 100644 --- a/lib/src/widgets/nes_icon16.dart +++ b/lib/src/widgets/nes_icon16.dart @@ -34,4 +34,11 @@ class NesIcons16 { '16,16;37,-1;3,0;12,-1;1,0;2,2;1,0;11,-1;1,0;1,2;1,1;1,0;10,-1;2,0;1,2;2,1;11,0;1,2;1,0;11,1;1,2;2,0;1,1;1,0;5,1;9,0;1,1;1,0;1,1;3,0;4,1;1,2;1,0;3,-1;1,0;1,3;1,0;1,1;3,3;1,1;5,0;3,-1;1,0;1,3;1,0;1,3;3,0;2,1;2,3;1,0;5,-1;2,0;3,3;2,1;4,0;7,-1;1,0;5,3;1,0;10,-1;6,0;38,-1', ), ); + + /// A left arrow indicator icon. + static final leftArrowIndicator = NesIconData( + MiniSprite.fromDataString( + '16,16;13,-1;3,0;11,-1;5,0;9,-1;7,0;7,-1;9,0;5,-1;11,0;3,-1;13,0;1,-1;16,0;1,2;1,1;14,0;1,3;2,2;1,1;11,0;1,-1;2,0;1,3;2,2;1,1;9,0;3,-1;2,0;1,3;2,2;1,1;7,0;5,-1;2,0;1,3;2,2;1,1;5,0;7,-1;2,0;1,3;2,2;1,1;3,0;9,-1;2,0;1,3;2,2;1,1;1,0;11,-1;2,0;1,3;1,2;1,0;13,-1;3,0', + ), + ); }