Skip to content

Commit

Permalink
removed un-tested lines
Browse files Browse the repository at this point in the history
  • Loading branch information
TesteurManiak committed Mar 7, 2022
1 parent ffe5a67 commit e1239f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Pub Version](https://img.shields.io/pub/v/icon_decoration)](https://pub.dev/packages/icon_decoration)
[![Test workflow](https://github.com/TesteurManiak/icon_decoration/actions/workflows/tests.yml/badge.svg)](https://github.com/TesteurManiak/icon_decoration/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/github/TesteurManiak/icon_decoration/badge.svg?branch=main)](https://coveralls.io/github/TesteurManiak/icon_decoration?branch=main)

Add decoration capabilities for the `Icon` widget with shadows, borders, gradients. This new `DecoratedIcon` widget overlap itself with the base `Icon` widget to provide a more complete decoration system through a `IconDecoration` property.

Expand Down
11 changes: 0 additions & 11 deletions lib/src/icon_decoration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,4 @@ class IconDecoration {
this.border,
this.gradient,
});

@override
bool operator ==(other) {
return other is IconDecoration &&
other.shadows == shadows &&
other.border == border &&
other.gradient == gradient;
}

@override
int get hashCode => hashValues(shadows, border, gradient);
}

0 comments on commit e1239f4

Please sign in to comment.