Skip to content

Commit

Permalink
feat: Adding NesIcons.block
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzanardo committed Sep 21, 2024
1 parent 5a1d797 commit 850b0db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- feat: adding option to better customize `TextInput`s
- feat: adding `NesSelectionList.disabledItems`
- feat: `NesPressable` is only pressable when has listeners.
- feat: adding `NesIcons.block`

# 0.20.0
- feat: adding different frames to `NesDialog`s
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 @@ -764,6 +764,13 @@ class NesIconCollection {
'8,8;1,0;6,-1;1,0;1,-1;2,0;2,-1;2,0;1,-1;9,0;2,-1;2,0;2,-1;10,0;1,-1;4,0;1,-1;1,0;1,-1;2,0;2,-1;2,0;9,-1',
),
);

/// Block
late final block = NesIconData(
MiniSprite.fromDataString(
'8,8;2,-1;4,0;3,-1;1,0;4,-1;1,0;1,-1;1,0;1,-1;1,0;4,-1;2,0;2,-1;1,0;3,-1;2,0;3,-1;1,0;2,-1;2,0;4,-1;1,0;1,-1;1,0;1,-1;1,0;4,-1;1,0;3,-1;4,0;2,-1',
),
);
}

/// {@template nes_icon}
Expand Down

0 comments on commit 850b0db

Please sign in to comment.