diff --git a/CHANGELOG.md b/CHANGELOG.md index ff24bea..1442829 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # 0.20.0 - feat: adding different frames to `NesDialog`s - feat: allow `NesFileExplorer` to have custom icons + - feat: adding `NesIcons.alien` - feat: allow `NesScaffold` and allow snackbars to be shown on them. # 0.19.0 diff --git a/example/lib/gallery/sections/icons.dart b/example/lib/gallery/sections/icons.dart index 12a63ee..61633b1 100644 --- a/example/lib/gallery/sections/icons.dart +++ b/example/lib/gallery/sections/icons.dart @@ -435,6 +435,10 @@ class IconsSection extends StatelessWidget { data: NesIcons.bell, label: 'bell', ), + _IconEntry( + data: NesIcons.alien, + label: 'alien', + ), ], ), ), diff --git a/lib/src/widgets/nes_icon.dart b/lib/src/widgets/nes_icon.dart index afb5384..6c13e67 100644 --- a/lib/src/widgets/nes_icon.dart +++ b/lib/src/widgets/nes_icon.dart @@ -757,6 +757,13 @@ class NesIconCollection { '8,8;3,-1;2,0;5,-1;4,0;4,-1;1,0;1,1;2,0;4,-1;1,0;1,1;2,0;3,-1;1,0;1,1;4,0;1,-1;16,0;3,-1;2,0;3,-1', ), ); + + /// Alien + late final alien = NesIconData( + MiniSprite.fromDataString( + '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', + ), + ); } /// {@template nes_icon}