Skip to content

Commit

Permalink
feat: adding shovel icon (#152)
Browse files Browse the repository at this point in the history
* feat: adding shovel icon

* fix format
  • Loading branch information
erickzanardo authored Feb 2, 2025
1 parent 9f279c9 commit ae11c27
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.22.0
- feat: adding `NesIcons.shovel`.

# 0.21.0
- Update to Flutter 3.22.0
- feat: adding `NesDropdownMenu`
Expand Down
4 changes: 4 additions & 0 deletions example/lib/gallery/sections/icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 7 additions & 0 deletions lib/src/widgets/nes_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ae11c27

Please sign in to comment.