From e1239f436c4affa89e8e473e190fbd36c3f94bd7 Mon Sep 17 00:00:00 2001 From: Guillaume Roux Date: Mon, 7 Mar 2022 22:28:51 +0100 Subject: [PATCH] removed un-tested lines --- README.md | 1 + lib/src/icon_decoration.dart | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index 5d1664f..8bd1e95 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/lib/src/icon_decoration.dart b/lib/src/icon_decoration.dart index 6a86816..df8a2fe 100644 --- a/lib/src/icon_decoration.dart +++ b/lib/src/icon_decoration.dart @@ -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); }