Skip to content

Commit

Permalink
feat: adding NesIcons.discord
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzanardo committed Mar 1, 2024
1 parent 1024603 commit 25915cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 0.18.0
- feat: add `NesIcons.wrench`
- feat: add `NesIcons.discord`

# 0.17.0
- feat: add `NesIcons.market`
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 @@ -417,6 +417,10 @@ class IconsSection extends StatelessWidget {
data: NesIcons.wrench,
label: 'wrench',
),
_IconEntry(
data: NesIcons.discord,
label: 'discord',
),
],
),
],
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 @@ -743,6 +743,13 @@ class NesIconCollection {
'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',
),
);

/// Discord
late final discord = NesIconData(
MiniSprite.fromDataString(
'8,8;9,-1;6,0;1,-1;10,0;1,-1;2,0;1,-1;12,0;4,-1;2,0;16,-1',
),
);
}

/// {@template nes_icon}
Expand Down

0 comments on commit 25915cf

Please sign in to comment.