From ae11c276c4738863e9514ba0af4c8e367a9978a8 Mon Sep 17 00:00:00 2001 From: Erick Date: Sun, 2 Feb 2025 20:54:10 -0300 Subject: [PATCH] feat: adding shovel icon (#152) * feat: adding shovel icon * fix format --- CHANGELOG.md | 3 +++ example/lib/gallery/sections/icons.dart | 4 ++++ lib/src/widgets/nes_icon.dart | 7 +++++++ 3 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5a3b9b..545cbfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.22.0 + - feat: adding `NesIcons.shovel`. + # 0.21.0 - Update to Flutter 3.22.0 - feat: adding `NesDropdownMenu` diff --git a/example/lib/gallery/sections/icons.dart b/example/lib/gallery/sections/icons.dart index 61633b1..b624a72 100644 --- a/example/lib/gallery/sections/icons.dart +++ b/example/lib/gallery/sections/icons.dart @@ -363,6 +363,10 @@ class IconsSection extends StatelessWidget { data: NesIcons.pickaxe, label: 'pickaxe', ), + _IconEntry( + data: NesIcons.shovel, + label: 'shovel', + ), _IconEntry( data: NesIcons.oven, label: 'oven', diff --git a/lib/src/widgets/nes_icon.dart b/lib/src/widgets/nes_icon.dart index be0b178..7b98fe2 100644 --- a/lib/src/widgets/nes_icon.dart +++ b/lib/src/widgets/nes_icon.dart @@ -632,6 +632,13 @@ class NesIconCollection { ), ); + /// Shovel + late final shovel = NesIconData( + MiniSprite.fromDataString( + '8,8;1,-1;6,0;4,-1;2,0;6,-1;2,0;6,-1;2,0;4,-1;6,0;2,-1;1,0;4,1;1,0;2,-1;2,0;2,1;2,0;3,-1;4,0;2,-1', + ), + ); + /// Oven late final oven = NesIconData( MiniSprite.fromDataString(