Skip to content

Commit

Permalink
feat: adding NesIcons.wrench
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzanardo committed Feb 29, 2024
1 parent 652a777 commit 1024603
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.18.0
- feat: add `NesIcons.wrench`

# 0.17.0
- feat: add `NesIcons.market`
- feat: add `NesIcons.play`
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 @@ -413,6 +413,10 @@ class IconsSection extends StatelessWidget {
data: NesIcons.pause,
label: 'pause',
),
_IconEntry(
data: NesIcons.wrench,
label: 'wrench',
),
],
),
],
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 @@ -736,6 +736,13 @@ class NesIconCollection {
'8,8;1,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;2,-1;2,0;1,-1',
),
);

/// Wrench
late final wrench = NesIconData(
MiniSprite.fromDataString(
'8,8;2,-1;1,0;2,-1;1,0;3,-1;2,0;2,-1;2,0;2,-1;6,0;3,-1;4,0;5,-1;2,0;6,-1;2,0;6,-1;2,0;6,-1;2,0;3,-1',
),
);
}

/// {@template nes_icon}
Expand Down

0 comments on commit 1024603

Please sign in to comment.